Ver código fonte

Do not compile in removed bw compatibility.

Herbert Vojčík 7 anos atrás
pai
commit
c2be3efa00
2 arquivos alterados com 0 adições e 4 exclusões
  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"];