(key, value)
| 46 | } |
| 47 | |
| 48 | function write(key, value) { |
| 49 | if (isLoon || isSurge) return $persistentStore.write(value, key); |
| 50 | if (isQX) return $prefs.setValueForKey(value, key); |
| 51 | } |
| 52 | |
| 53 | function notify(title, subtitle, message) { |
| 54 | if (isLoon) $notification.post(title, subtitle, message); |