浏览代码

Do not compile in removed bw compatibility.

Herbert Vojčík 7 年之前
父节点
当前提交
c2be3efa00
共有 2 个文件被更改,包括 0 次插入4 次删除
  1. 0 2
      src/Web-Snippets.js
  2. 0 2
      src/Web.js

+ 0 - 2
src/Web-Snippets.js

@@ -7,10 +7,8 @@ define(["amber/boot"
 
 //>>excludeEnd("imports");
 ){"use strict";
-if(!$boot.nilAsReceiver)$boot.nilAsReceiver=$boot.nil;
 if(!("nilAsValue" in $boot))$boot.nilAsValue=$boot.nilAsReceiver;
 var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
-if(!$boot.nilAsClass)$boot.nilAsClass=$boot.dnu;
 $core.addPackage("Web-Snippets");
 $core.packages["Web-Snippets"].innerEval = function (expr) { return eval(expr); };
 $core.packages["Web-Snippets"].imports = ["amber/jquery/Wrappers-JQuery", "amber_core/Platform-DOM"];

+ 0 - 2
src/Web.js

@@ -7,10 +7,8 @@ define(["amber/boot"
 
 //>>excludeEnd("imports");
 ){"use strict";
-if(!$boot.nilAsReceiver)$boot.nilAsReceiver=$boot.nil;
 if(!("nilAsValue" in $boot))$boot.nilAsValue=$boot.nilAsReceiver;
 var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
-if(!$boot.nilAsClass)$boot.nilAsClass=$boot.dnu;
 $core.addPackage("Web");
 $core.packages["Web"].innerEval = function (expr) { return eval(expr); };
 $core.packages["Web"].imports = ["amber/jquery/Wrappers-JQuery", "amber_core/Platform-DOM"];