1/** 2 * å ±äº«åéç±» 3 */ 4class Global_Vars { 5 // å ¨å±åé 6 static global_vars = {} 7 8 // å ¨å±åéå¯ç¨ç¶ææ è¯ 9 static status = false; 10 11 static { 12 Global_Vars.push("LY_Utils.checkBackUrlIsCOOKIE_DOMAIN()", LY_Utils.checkBackUrlIsCOOKIE_DOMAIN()); 13 } 14 15 static push(key, value) { 16 this.global_vars[key] = value 17 } 18 19 /** 20 * å¯ç¨å ¨å±åéçæ¯æ 21 */ 22 static enable() { 23 this.status = true 24 } 25 26 /** 27 * 28 * @param key 29 * @return {*|undefined} 妿å¯ç¨ä¸æåéåè¿åæ°æ® åä¹è¿å 30 */ 31 static getNoCheckStatus(key) { 32 return this.global_vars[key]; 33 } 34 35 /** 36 * 37 * @param key 38 * @return {*|undefined} 妿å¯ç¨ä¸æåéåè¿åæ°æ® åä¹è¿å 39 */ 40 static get(key) { 41 if (this.status) { 42 return this.getNoCheckStatus(key); 43 } 44 return undefined; 45 } 46}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.