소스 검색

Set up debugging state when opening the app

crobi 10 년 전
부모
커밋
be4f6532bd
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6
    1
      client/src/app.ts

+ 6
- 1
client/src/app.ts 파일 보기

@@ -27,8 +27,13 @@ module rpgcards {
27 27
         appDispatcher = new Dispatcher();
28 28
         appActions = new Actions(appDispatcher);
29 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 37
         refresh();
33 38
     }
34 39
 

Loading…
취소
저장