diff options
Diffstat (limited to 'web/src/js/stores/SettingsStore.es6.js')
-rw-r--r-- | web/src/js/stores/SettingsStore.es6.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/web/src/js/stores/SettingsStore.es6.js b/web/src/js/stores/SettingsStore.es6.js deleted file mode 100644 index 29971fa7..00000000 --- a/web/src/js/stores/SettingsStore.es6.js +++ /dev/null @@ -1,27 +0,0 @@ -class _SettingsStore extends EventEmitter { - constructor() { - super(); - - //FIXME: What do we do if we haven't requested anything from the server yet? - this.settings = { - version: "0.12", - showEventLog: true, - mode: "transparent", - }; - } - getAll() { - return this.settings; - } - handle(action) { - switch (action.actionType) { - case ActionTypes.SETTINGS_UPDATE: - this.settings = action.settings; - this.emit("change"); - break; - default: - return; - } - } -} -var SettingsStore = new _SettingsStore(); -AppDispatcher.register(SettingsStore.handle.bind(SettingsStore));
\ No newline at end of file |