(t)
| 262 | return e; |
| 263 | } |
| 264 | getval(t) { |
| 265 | if (this.isSurge() || this.isLoon()) { |
| 266 | return $persistentStore.read(t); |
| 267 | } else if (this.isQuanX()) { |
| 268 | return $prefs.valueForKey(t); |
| 269 | } else if (this.isNode()) { |
| 270 | this.data = this.loaddata(); |
| 271 | return this.data[t]; |
| 272 | } else { |
| 273 | return this.data && this.data[t] || null; |
| 274 | } |
| 275 | } |
| 276 | setval(t, s) { |
| 277 | if (this.isSurge() || this.isLoon()) { |
| 278 | return $persistentStore.write(t, s); |