diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-08 10:56:38 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-08 10:56:38 -0500 |
commit | 01536aa5508721a0d23c12aad520f5f34ba8e75d (patch) | |
tree | 036e93c7fa360469ed47b9c2be95c7df28c191f3 /web/react/stores/file_store.jsx | |
parent | 22470c2069eb21539540d19e80fd85394782c9a7 (diff) | |
download | chat-01536aa5508721a0d23c12aad520f5f34ba8e75d.tar.gz chat-01536aa5508721a0d23c12aad520f5f34ba8e75d.tar.bz2 chat-01536aa5508721a0d23c12aad520f5f34ba8e75d.zip |
Globally exported all stores when developer mode is enabled
Diffstat (limited to 'web/react/stores/file_store.jsx')
-rw-r--r-- | web/react/stores/file_store.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/web/react/stores/file_store.jsx b/web/react/stores/file_store.jsx index 6d7e0f354..c1fd0ef74 100644 --- a/web/react/stores/file_store.jsx +++ b/web/react/stores/file_store.jsx @@ -57,4 +57,9 @@ class FileStore extends EventEmitter { } } -export default new FileStore(); +const instance = new FileStore(); +export default instance; + +if (window.mm_config.EnableDeveloper === 'true') { + window.FileStore = instance; +} |