2
0
Переглянути джерело

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 () {