summaryrefslogtreecommitdiffstats
path: root/web/react/stores/channel_store.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-08 15:25:42 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-08 15:25:42 -0500
commit541771bfd798446cd93e81db3a49ff72be624e79 (patch)
treeb71a1dabfd3a9308b7ae7f8915afcb3ffc398c51 /web/react/stores/channel_store.jsx
parent8e28f873e89bb0ad2eb85e8d12efbcb97ae325a9 (diff)
parent01536aa5508721a0d23c12aad520f5f34ba8e75d (diff)
downloadchat-541771bfd798446cd93e81db3a49ff72be624e79.tar.gz
chat-541771bfd798446cd93e81db3a49ff72be624e79.tar.bz2
chat-541771bfd798446cd93e81db3a49ff72be624e79.zip
Merge pull request #2385 from hmhealey/store
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;
+}