From 01536aa5508721a0d23c12aad520f5f34ba8e75d Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Tue, 8 Mar 2016 10:56:38 -0500
Subject: Globally exported all stores when developer mode is enabled

---
 web/react/stores/channel_store.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'web/react/stores/channel_store.jsx')

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;
+}
-- 
cgit v1.2.3-1-g7c22

