(t)
| 327 | return e; |
| 328 | } |
| 329 | getval(t) { |
| 330 | if (this.isSurge() || this.isLoon()) { |
| 331 | return $persistentStore.read(t); |
| 332 | } else if (this.isQuanX()) { |
| 333 | return $prefs.valueForKey(t); |
| 334 | } else if (this.isNode()) { |
| 335 | this.data = this.loaddata(); |
| 336 | return this.data[t]; |
| 337 | } else { |
| 338 | return this.data && this.data[t] || null; |
| 339 | } |
| 340 | } |
| 341 | setval(t, s) { |
| 342 | if (this.isSurge() || this.isLoon()) { |
| 343 | return $persistentStore.write(t, s); |