summaryrefslogtreecommitdiffstats
path: root/web/react/stores/modal_store.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-08 10:56:38 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-08 10:56:38 -0500
commit01536aa5508721a0d23c12aad520f5f34ba8e75d (patch)
tree036e93c7fa360469ed47b9c2be95c7df28c191f3 /web/react/stores/modal_store.jsx
parent22470c2069eb21539540d19e80fd85394782c9a7 (diff)
downloadchat-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/modal_store.jsx')
-rw-r--r--web/react/stores/modal_store.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/stores/modal_store.jsx b/web/react/stores/modal_store.jsx
index 5ea38030b..1819fffc0 100644
--- a/web/react/stores/modal_store.jsx
+++ b/web/react/stores/modal_store.jsx
@@ -45,3 +45,7 @@ class ModalStoreClass extends EventEmitter {
const ModalStore = new ModalStoreClass();
export default ModalStore;
+
+if (window.mm_config.EnableDeveloper === 'true') {
+ window.ModalStore = ModalStore;
+}