Browse Source

Do not compile in removed bw compatibility.

Herbert Vojčík 1 month ago
parent
commit
45a89a8947
2 changed files with 0 additions and 4 deletions
  1. 0 2
      external/amber-dev/lib/NodeTestRunner.js
  2. 0 2
      src/Platform-Node.js

+ 0 - 2
external/amber-dev/lib/NodeTestRunner.js

@@ -1,8 +1,6 @@
1 1
 define(["amber/boot", "amber_core/Kernel-Objects"], function($boot){"use strict";
2
-if(!$boot.nilAsReceiver)$boot.nilAsReceiver=$boot.nil;
3 2
 if(!("nilAsValue" in $boot))$boot.nilAsValue=$boot.nilAsReceiver;
4 3
 var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
5
-if(!$boot.nilAsClass)$boot.nilAsClass=$boot.dnu;
6 4
 $core.addPackage("NodeTestRunner");
7 5
 $core.packages["NodeTestRunner"].innerEval = function (expr) { return eval(expr); };
8 6
 $core.packages["NodeTestRunner"].transport = {"type":"amd","amdNamespace":"amber_devkit"};

+ 0 - 2
src/Platform-Node.js

@@ -1,8 +1,6 @@
1 1
 define(["amber/boot", "amber_core/Kernel-Objects"], function($boot){"use strict";
2
-if(!$boot.nilAsReceiver)$boot.nilAsReceiver=$boot.nil;
3 2
 if(!("nilAsValue" in $boot))$boot.nilAsValue=$boot.nilAsReceiver;
4 3
 var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
5
-if(!$boot.nilAsClass)$boot.nilAsClass=$boot.dnu;
6 4
 $core.addPackage("Platform-Node");
7 5
 $core.packages["Platform-Node"].innerEval = function (expr) { return eval(expr); };
8 6
 $core.packages["Platform-Node"].transport = {"type":"amd","amdNamespace":"amber_core"};