Browse Source

Set up debugging state when opening the app

crobi 10 years ago
parent
commit
be4f6532bd
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      client/src/app.ts

+ 6
- 1
client/src/app.ts View File

27
         appDispatcher = new Dispatcher();
27
         appDispatcher = new Dispatcher();
28
         appActions = new Actions(appDispatcher);
28
         appActions = new Actions(appDispatcher);
29
         appStore = new Store(appDispatcher);
29
         appStore = new Store(appDispatcher);
30
-        appStore.addChangeListener(refresh);
31
 
30
 
31
+        // Set up some initial state for debugging
32
+        // Remove this line once development is finished
33
+        setupTestState();
34
+
35
+        // Start react rendering
36
+        appStore.addChangeListener(refresh);
32
         refresh();
37
         refresh();
33
     }
38
     }
34
 
39
 

Loading…
Cancel
Save