Browse Source

.js files without explicit module id in AMD header.

Herbert Vojčík 8 years ago
parent
commit
d83cc529c9
3 changed files with 3 additions and 3 deletions
  1. 1 1
      src/Benchfib.js
  2. 1 1
      src/Examples.js
  3. 1 1
      src/IDE.js

+ 1 - 1
src/Benchfib.js

@@ -1,4 +1,4 @@
-define("amber/legacy/Benchfib", ["amber/boot", "amber_core/Kernel-Objects"], function($boot){"use strict";
+define(["amber/boot", "amber_core/Kernel-Objects"], function($boot){"use strict";
 var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
 $core.addPackage('Benchfib');
 $core.packages["Benchfib"].innerEval = function (expr) { return eval(expr); };

+ 1 - 1
src/Examples.js

@@ -1,4 +1,4 @@
-define("amber/legacy/Examples", ["amber/boot", "amber/web/Web"], function($boot){"use strict";
+define(["amber/boot", "amber/web/Web"], function($boot){"use strict";
 var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
 $core.addPackage('Examples');
 $core.packages["Examples"].innerEval = function (expr) { return eval(expr); };

+ 1 - 1
src/IDE.js

@@ -1,4 +1,4 @@
-define("amber/legacy/IDE", ["amber/boot"
+define(["amber/boot"
 //>>excludeStart("imports", pragmas.excludeImports);
 , "codemirror/addon/hint/show-hint", "codemirror/lib/codemirror", "codemirror/mode/smalltalk/smalltalk", "css!./resources/amber", "css!codemirror/addon/hint/show-hint", "css!codemirror/lib/codemirror", "css!codemirror/theme/ambiance", "jquery-ui"
 //>>excludeEnd("imports");