Browse Source

Recompile with $pkg.

Herby Vojčík 3 years ago
parent
commit
fc9fe25c84
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/ProfStef.js

+ 3 - 3
src/ProfStef.js

@@ -1,9 +1,9 @@
 define(["amber/boot", "amber/web/Web", "amber_core/Kernel-Objects"], function($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("ProfStef");
-($core.packageDescriptors||$core.packages)["ProfStef"].innerEval = function (expr) { return eval(expr); };
-($core.packageDescriptors||$core.packages)["ProfStef"].transport = {"type":"amd","amdNamespace":"profstef"};
+var $pkg = $core.addPackage("ProfStef");
+$pkg.innerEval = function (expr) { return eval(expr); };
+$pkg.transport = {"type":"amd","amdNamespace":"profstef"};
 
 $core.addClass("AbstractTutorial", $globals.Object, [], "ProfStef");
 //>>excludeStart("ide", pragmas.excludeIdeData);