2
0
Quellcode durchsuchen

Use name "app", fix comment

Herbert Vojčík vor 9 Jahren
Ursprung
Commit
95f0f927a8
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  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 () {