Lines Matching refs:k
54 setItem: function(k,v){this.$$$[k]=v}, argument
55 getItem: function(k){ argument
56 return this.$$$.hasOwnProperty(k) ? this.$$$[k] : undefined;
58 removeItem: function(k){delete this.$$$[k]}, argument
124 set: (k,v)=>$storage.setItem(storageKeyPrefix+k,v),
126 setJSON: (k,v)=>$storage.setItem(storageKeyPrefix+k,JSON.stringify(v)),
129 get: (k,dflt)=>$storageHolder.hasOwnProperty(
130 storageKeyPrefix+k
131 ) ? $storage.getItem(storageKeyPrefix+k) : dflt,
136 getBool: function(k,dflt){
137 return 'true'===this.get(k,''+(!!dflt));
142 getJSON: function f(k,dflt){
144 const x = this.get(k,f);
151 contains: (k)=>$storageHolder.hasOwnProperty(storageKeyPrefix+k),
153 remove: function(k){
154 $storage.removeItem(storageKeyPrefix+k);
159 this.keys().forEach((k)=>$storage.removeItem(/*w/o prefix*/k));
321 Object.keys(SF.config).forEach(function(k){ argument
322 if(storedConfig.hasOwnProperty(k)){
323 SF.config[k] = storedConfig[k];