瀏覽代碼

Use name "app", fix comment

Herbert Vojčík 9 年之前
父節點
當前提交
95f0f927a8
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      external/amber-dev/lib/amberc.js

+ 3 - 3
external/amber-dev/lib/amberc.js

@@ -44,12 +44,12 @@ function createConcatenator () {
 		},
 		finish: function (realWork) {
 			this.add(
-				'define("amber/_init", ["' + this.ids.join('","') + '"], function (boot) {',
-				'boot.api = boot.api || boot.vm; // future compatibility',
+				'define("app", ["' + this.ids.join('","') + '"], function (boot) {',
+				'boot.api = boot.api || boot.vm; // backward compatibility',
 				'boot.api.initialize();',
 				realWork,
 				'});',
-				'requirejs(["amber/_init"]);'
+				'requirejs(["app"]);'
 			);
 		},
 		toString: function () {