summaryrefslogtreecommitdiffstats
path: root/web/react/stores/channel_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/channel_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/channel_store.jsx')
-rw-r--r--web/react/stores/channel_store.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/stores/channel_store.jsx b/web/react/stores/channel_store.jsx
index 60cb10de7..eac24b071 100644
--- a/web/react/stores/channel_store.jsx
+++ b/web/react/stores/channel_store.jsx
@@ -350,3 +350,7 @@ ChannelStore.dispatchToken = AppDispatcher.register((payload) => {
});
export default ChannelStore;
+
+if (window.mm_config.EnableDeveloper === 'true') {
+ window.ChannelStore = ChannelStore;
+}