Ver Fonte

js files: .packages => .packageDescriptors

Herbert Vojčík há 7 anos atrás
pai
commit
02e220e3da

+ 2 - 2
src/Helios-Announcements.js

@@ -2,8 +2,8 @@ define(["amber/boot", "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("Helios-Announcements");
-$core.packages["Helios-Announcements"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Announcements"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Announcements"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Announcements"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLAboutToChange", $globals.Object, ["actionBlock"], "Helios-Announcements");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-Browser-Tests.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber_core/SUnit"], 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("Helios-Browser-Tests");
-$core.packages["Helios-Browser-Tests"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Browser-Tests"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Browser-Tests"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Browser-Tests"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLBrowserTest", $globals.TestCase, ["browser"], "Helios-Browser-Tests");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-Browser.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber_core/Kernel-Objects", "helios/Helios-Core"], functi
 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("Helios-Browser");
-$core.packages["Helios-Browser"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Browser"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Browser"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Browser"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLBrowser", $globals.HLWidget, ["model", "packagesListWidget", "classesListWidget", "protocolsListWidget", "methodsListWidget", "sourceWidget", "bottomDiv"], "Helios-Browser");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-Commands-Browser.js

@@ -2,8 +2,8 @@ define(["amber/boot", "helios/Helios-Commands-Tools"], function($boot){"use stri
 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("Helios-Commands-Browser");
-$core.packages["Helios-Commands-Browser"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Commands-Browser"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Commands-Browser"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Commands-Browser"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLBrowserCommand", $globals.HLToolCommand, [], "Helios-Commands-Browser");
 

+ 2 - 2
src/Helios-Commands-Core.js

@@ -2,8 +2,8 @@ define(["amber/boot", "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("Helios-Commands-Core");
-$core.packages["Helios-Commands-Core"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Commands-Core"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Commands-Core"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Commands-Core"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLCommand", $globals.Object, ["input"], "Helios-Commands-Core");
 $core.addMethod(

+ 2 - 2
src/Helios-Commands-SUnit.js

@@ -2,8 +2,8 @@ define(["amber/boot", "helios/Helios-Commands-Tools"], function($boot){"use stri
 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("Helios-Commands-SUnit");
-$core.packages["Helios-Commands-SUnit"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Commands-SUnit"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Commands-SUnit"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Commands-SUnit"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLSUnitCommand", $globals.HLToolCommand, [], "Helios-Commands-SUnit");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-Commands-Tools.js

@@ -2,8 +2,8 @@ define(["amber/boot", "helios/Helios-Commands-Core"], function($boot){"use stric
 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("Helios-Commands-Tools");
-$core.packages["Helios-Commands-Tools"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Commands-Tools"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Commands-Tools"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Commands-Tools"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLToolCommand", $globals.HLModelCommand, [], "Helios-Commands-Tools");
 $core.addMethod(

+ 2 - 2
src/Helios-Core.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber/web/Web", "amber_core/Kernel-Objects"], function($b
 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("Helios-Core");
-$core.packages["Helios-Core"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Core"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Core"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Core"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLModel", $globals.Object, ["announcer", "environment"], "Helios-Core");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 3 - 3
src/Helios-Debugger.js

@@ -10,9 +10,9 @@ define(["amber/boot"
 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("Helios-Debugger");
-$core.packages["Helios-Debugger"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Debugger"].imports = ["amber_core/Compiler-Interpreter"];
-$core.packages["Helios-Debugger"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Debugger"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Debugger"].imports = ["amber_core/Compiler-Interpreter"];
+($core.packageDescriptors||$core.packages)["Helios-Debugger"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLContextInspectorDecorator", $globals.Object, ["context"], "Helios-Debugger");
 $core.addMethod(

+ 2 - 2
src/Helios-Exceptions.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber_core/Kernel-Exceptions"], function($boot){"use stri
 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("Helios-Exceptions");
-$core.packages["Helios-Exceptions"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Exceptions"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Exceptions"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Exceptions"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLError", $globals.Error, [], "Helios-Exceptions");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-Helpers.js

@@ -2,8 +2,8 @@ define(["amber/boot", "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("Helios-Helpers");
-$core.packages["Helios-Helpers"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Helpers"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Helpers"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Helpers"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLClassifier", $globals.Object, ["next", "method"], "Helios-Helpers");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-Inspector.js

@@ -2,8 +2,8 @@ define(["amber/boot", "helios/Helios-Core"], 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("Helios-Inspector");
-$core.packages["Helios-Inspector"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Inspector"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Inspector"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Inspector"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLInspectorDisplayWidget", $globals.HLNavigationListWidget, ["inspector"], "Helios-Inspector");
 $core.addMethod(

+ 2 - 2
src/Helios-KeyBindings.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber_core/Kernel-Objects", "helios/Helios-Core"], functi
 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("Helios-KeyBindings");
-$core.packages["Helios-KeyBindings"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-KeyBindings"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-KeyBindings"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-KeyBindings"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLBinding", $globals.Object, ["key", "label"], "Helios-KeyBindings");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-Layout.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber/web/Web", "amber_core/Kernel-Objects", "helios/Heli
 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("Helios-Layout");
-$core.packages["Helios-Layout"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Layout"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Layout"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Layout"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLContainer", $globals.HLWidget, ["splitter"], "Helios-Layout");
 $core.addMethod(

+ 2 - 2
src/Helios-References.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber_core/Kernel-Objects", "helios/Helios-Core"], functi
 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("Helios-References");
-$core.packages["Helios-References"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-References"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-References"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-References"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLMethodReference", $globals.Object, ["selector", "methodClass"], "Helios-References");
 $core.addMethod(

+ 2 - 2
src/Helios-SUnit-Tests.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber_core/SUnit"], 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("Helios-SUnit-Tests");
-$core.packages["Helios-SUnit-Tests"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-SUnit-Tests"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-SUnit-Tests"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-SUnit-Tests"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLSUnitModelTest", $globals.TestCase, ["model"], "Helios-SUnit-Tests");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-SUnit.js

@@ -2,8 +2,8 @@ define(["amber/boot", "helios/Helios-Core"], 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("Helios-SUnit");
-$core.packages["Helios-SUnit"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-SUnit"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-SUnit"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-SUnit"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLMultiSelectToolListWidget", $globals.HLToolListWidget, [], "Helios-SUnit");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-Transcript.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber_core/Kernel-Objects", "helios/Helios-Core"], functi
 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("Helios-Transcript");
-$core.packages["Helios-Transcript"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Transcript"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Transcript"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Transcript"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLTranscript", $globals.HLWidget, ["textarea"], "Helios-Transcript");
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 2 - 2
src/Helios-Workspace-Tests.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber_core/SUnit"], 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("Helios-Workspace-Tests");
-$core.packages["Helios-Workspace-Tests"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Workspace-Tests"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Workspace-Tests"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Workspace-Tests"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLCodeWidgetTest", $globals.TestCase, [], "Helios-Workspace-Tests");
 $core.addMethod(

+ 2 - 2
src/Helios-Workspace.js

@@ -2,8 +2,8 @@ define(["amber/boot", "amber_core/Kernel-Objects", "helios/Helios-Core"], functi
 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("Helios-Workspace");
-$core.packages["Helios-Workspace"].innerEval = function (expr) { return eval(expr); };
-$core.packages["Helios-Workspace"].transport = {"type":"amd","amdNamespace":"helios"};
+($core.packageDescriptors||$core.packages)["Helios-Workspace"].innerEval = function (expr) { return eval(expr); };
+($core.packageDescriptors||$core.packages)["Helios-Workspace"].transport = {"type":"amd","amdNamespace":"helios"};
 
 $core.addClass("HLCodeModel", $globals.Object, ["announcer", "environment", "receiver"], "Helios-Workspace");
 $core.addMethod(