Browse Source

Recompile without fw compat break b/c of nilAsClass.

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

+ 1 - 0
src/Benchfib.js

@@ -1,5 +1,6 @@
 define(["amber/boot", "amber_core/Kernel-Objects"], function($boot){"use strict";
 var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
+if(!$boot.nilAsClass)$boot.nilAsClass=$boot.dnu;
 $core.addPackage('Benchfib');
 $core.packages["Benchfib"].innerEval = function (expr) { return eval(expr); };
 $core.packages["Benchfib"].transport = {"type":"amd","amdNamespace":"amber/legacy"};

+ 1 - 0
src/IDE.js

@@ -8,6 +8,7 @@ define(["amber/boot"
 //>>excludeEnd("imports");
 ){"use strict";
 var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
+if(!$boot.nilAsClass)$boot.nilAsClass=$boot.dnu;
 $core.addPackage('IDE');
 $core.packages["IDE"].innerEval = function (expr) { return eval(expr); };
 $core.packages["IDE"].imports = ["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"];