소스 검색

scaffolding: Fix not starting the app.

Herby Vojčík 6 년 전
부모
커밋
77a4fe0eb8
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      grunt-init-project/root/index.html

+ 5 - 5
grunt-init-project/root/index.html

@@ -28,12 +28,12 @@
         return amber.initialize({
             //used for all new packages in IDE
             'transport.defaultAmdNamespace': "{%= namespace %}"
+        }).then(function () {
+            require(["amber-ide-starter-dialog"], function (dlg) {
+                dlg.start();
+            });
+            amber.globals.{%= name %}._start();
         });
-    }).then(function () {
-        require(["amber-ide-starter-dialog"], function (dlg) {
-            dlg.start();
-        });
-        amber.globals.{%= name %}._start();
     });
 </script>
 </body>