浏览代码

Recompile with $pkg.

Herby Vojčík 5 年之前
父节点
当前提交
61536edf01
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/Wrappers-JQuery.js

+ 4 - 4
src/Wrappers-JQuery.js

@@ -9,10 +9,10 @@ define(["amber/boot"
 ){"use strict";
 if(!("nilAsValue" in $boot))$boot.nilAsValue=$boot.nilAsReceiver;
 var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
-$core.addPackage("Wrappers-JQuery");
-($core.packageDescriptors||$core.packages)["Wrappers-JQuery"].innerEval = function (expr) { return eval(expr); };
-($core.packageDescriptors||$core.packages)["Wrappers-JQuery"].imports = ["jQuery=jquery"];
-($core.packageDescriptors||$core.packages)["Wrappers-JQuery"].transport = {"type":"amd","amdNamespace":"amber/jquery"};
+var $pkg = $core.addPackage("Wrappers-JQuery");
+$pkg.innerEval = function (expr) { return eval(expr); };
+$pkg.imports = ["jQuery=jquery"];
+$pkg.transport = {"type":"amd","amdNamespace":"amber/jquery"};
 
 $core.addClass("JQuery", $globals.Object, [], "Wrappers-JQuery");