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/modal_store.jsx | 4 ++++
 1 file changed, 4 insertions(+)

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

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

