summaryrefslogtreecommitdiffstats
path: root/web/react/stores/post_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/post_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/post_store.jsx')
-rw-r--r--web/react/stores/post_store.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/stores/post_store.jsx b/web/react/stores/post_store.jsx
index a6dfcd46f..5cc3f300d 100644
--- a/web/react/stores/post_store.jsx
+++ b/web/react/stores/post_store.jsx
@@ -608,3 +608,7 @@ function isPostListNull(pl) {
return false;
}
+
+if (window.mm_config.EnableDeveloper === 'true') {
+ window.PostStore = PostStore;
+}