Browse Source

boot.js: globals never used directly

They are renamed and everything works.
Herbert Vojčík 10 năm trước cách đây
mục cha
commit
a9800e5918
86 tập tin đã thay đổi với 399 bổ sung245 xóa
  1. 1 1
      grunt/tasks/grunt-peg.js
  2. 1 1
      index.html
  3. 1 1
      js/Benchfib.deploy.js
  4. 1 1
      js/Benchfib.js
  5. 1 1
      js/Canvas.deploy.js
  6. 1 1
      js/Canvas.js
  7. 1 1
      js/Compiler-AST.deploy.js
  8. 1 1
      js/Compiler-AST.js
  9. 1 1
      js/Compiler-Core.deploy.js
  10. 1 1
      js/Compiler-Core.js
  11. 1 1
      js/Compiler-Exceptions.deploy.js
  12. 1 1
      js/Compiler-Exceptions.js
  13. 1 1
      js/Compiler-IR.deploy.js
  14. 1 1
      js/Compiler-IR.js
  15. 1 1
      js/Compiler-Inlining.deploy.js
  16. 1 1
      js/Compiler-Inlining.js
  17. 1 1
      js/Compiler-Interpreter.deploy.js
  18. 1 1
      js/Compiler-Interpreter.js
  19. 1 1
      js/Compiler-Semantic.deploy.js
  20. 1 1
      js/Compiler-Semantic.js
  21. 1 1
      js/Compiler-Tests.deploy.js
  22. 1 1
      js/Compiler-Tests.js
  23. 1 1
      js/Examples.deploy.js
  24. 1 1
      js/Examples.js
  25. 1 1
      js/Helios-Announcements.deploy.js
  26. 1 1
      js/Helios-Announcements.js
  27. 1 1
      js/Helios-Browser.deploy.js
  28. 1 1
      js/Helios-Browser.js
  29. 1 1
      js/Helios-Commands-Browser.deploy.js
  30. 1 1
      js/Helios-Commands-Browser.js
  31. 1 1
      js/Helios-Commands-Core.deploy.js
  32. 1 1
      js/Helios-Commands-Core.js
  33. 1 1
      js/Helios-Commands-Tools.deploy.js
  34. 1 1
      js/Helios-Commands-Tools.js
  35. 153 77
      js/Helios-Commands.deploy.js
  36. 153 77
      js/Helios-Commands.js
  37. 1 1
      js/Helios-Core.deploy.js
  38. 1 1
      js/Helios-Core.js
  39. 1 1
      js/Helios-Debugger.deploy.js
  40. 1 1
      js/Helios-Debugger.js
  41. 1 1
      js/Helios-Exceptions.deploy.js
  42. 1 1
      js/Helios-Exceptions.js
  43. 1 1
      js/Helios-Inspector.deploy.js
  44. 1 1
      js/Helios-Inspector.js
  45. 1 1
      js/Helios-KeyBindings.deploy.js
  46. 1 1
      js/Helios-KeyBindings.js
  47. 1 1
      js/Helios-Layout.deploy.js
  48. 1 1
      js/Helios-Layout.js
  49. 1 1
      js/Helios-References.deploy.js
  50. 1 1
      js/Helios-References.js
  51. 1 1
      js/Helios-Transcript.deploy.js
  52. 1 1
      js/Helios-Transcript.js
  53. 1 1
      js/Helios-Workspace-Tests.deploy.js
  54. 1 1
      js/Helios-Workspace-Tests.js
  55. 1 1
      js/Helios-Workspace.deploy.js
  56. 1 1
      js/Helios-Workspace.js
  57. 1 1
      js/IDE.deploy.js
  58. 1 1
      js/IDE.js
  59. 1 1
      js/Importer-Exporter.deploy.js
  60. 1 1
      js/Importer-Exporter.js
  61. 1 1
      js/Kernel-Announcements.deploy.js
  62. 1 1
      js/Kernel-Announcements.js
  63. 1 1
      js/Kernel-Classes.deploy.js
  64. 1 1
      js/Kernel-Classes.js
  65. 1 1
      js/Kernel-Collections.deploy.js
  66. 1 1
      js/Kernel-Collections.js
  67. 1 1
      js/Kernel-Exceptions.deploy.js
  68. 1 1
      js/Kernel-Exceptions.js
  69. 1 1
      js/Kernel-Methods.deploy.js
  70. 1 1
      js/Kernel-Methods.js
  71. 1 1
      js/Kernel-Objects.deploy.js
  72. 1 1
      js/Kernel-Objects.js
  73. 1 1
      js/Kernel-Tests.deploy.js
  74. 1 1
      js/Kernel-Tests.js
  75. 1 1
      js/Kernel-Transcript.deploy.js
  76. 1 1
      js/Kernel-Transcript.js
  77. 1 1
      js/SUnit-Tests.deploy.js
  78. 1 1
      js/SUnit-Tests.js
  79. 1 1
      js/SUnit.deploy.js
  80. 1 1
      js/SUnit.js
  81. 1 1
      js/Spaces.deploy.js
  82. 1 1
      js/Spaces.js
  83. 2 2
      js/amber.js
  84. 6 6
      js/boot.js
  85. 3 3
      js/init.js
  86. 2 0
      js/parser.js

+ 1 - 1
grunt/tasks/grunt-peg.js

@@ -23,7 +23,7 @@ module.exports = function(grunt) {
       export_var: 'module.exports'
     });
     var parser = PEG.buildParser(grunt.file.read(this.data.src), options);
-    var content = options.export_var + ' = ' + parser.toSource() + ';\n';
+    var content = '(function(smalltalk,nil){\n'+options.export_var + ' = ' + parser.toSource() + ';\n})(global_smalltalk,global_nil);';
     grunt.file.write(this.data.dest, content);
   });
 };

+ 1 - 1
index.html

@@ -9,6 +9,6 @@
   </head> 
 
   <body> 
-    <script type='text/javascript'> loadAmber({ready: function() {smalltalk.Browser._open()}}) </script> 
+    <script type='text/javascript'> loadAmber({ready: function(smalltalk) {smalltalk.Browser._open()}}) </script>
   </body> 
 </html> 

+ 1 - 1
js/Benchfib.deploy.js

@@ -216,4 +216,4 @@ return $1;
 messageSends: ["whileTrue:", "*", "millisecondsToRun:", "benchmark", "<", "+", "benchFib", ",", "printString", "/"]}),
 smalltalk.Number);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Benchfib.js

@@ -251,4 +251,4 @@ referencedClasses: ["Date"]
 }),
 smalltalk.Number);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Canvas.deploy.js

@@ -2759,4 +2759,4 @@ return self}, function($ctx1) {$ctx1.fill(self,"asJQuery",{},smalltalk.JSObjectP
 messageSends: []}),
 smalltalk.JSObjectProxy);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Canvas.js

@@ -3844,4 +3844,4 @@ referencedClasses: []
 }),
 smalltalk.JSObjectProxy);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-AST.deploy.js

@@ -1537,4 +1537,4 @@ return $1;
 messageSends: ["ifEmpty:", "error:", "source", "parse:", "current"]}),
 smalltalk.CompiledMethod);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-AST.js

@@ -2102,4 +2102,4 @@ referencedClasses: ["Smalltalk"]
 }),
 smalltalk.CompiledMethod);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Core.deploy.js

@@ -756,4 +756,4 @@ smalltalk.NodeVisitor);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Core.js

@@ -1021,4 +1021,4 @@ smalltalk.NodeVisitor);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Exceptions.deploy.js

@@ -158,4 +158,4 @@ smalltalk.RethrowErrorHandler);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Exceptions.js

@@ -221,4 +221,4 @@ smalltalk.RethrowErrorHandler);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-IR.deploy.js

@@ -2778,4 +2778,4 @@ return $1;
 messageSends: ["ifTrue:ifFalse:", ",", "includes:", "reservedWords", "current"]}),
 smalltalk.String);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-IR.js

@@ -3682,4 +3682,4 @@ referencedClasses: ["Smalltalk"]
 }),
 smalltalk.String);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Inlining.deploy.js

@@ -1158,4 +1158,4 @@ smalltalk.InliningCodeGenerator);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Inlining.js

@@ -1503,4 +1503,4 @@ smalltalk.InliningCodeGenerator);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Interpreter.deploy.js

@@ -1530,4 +1530,4 @@ return $1;
 messageSends: ["interpretClassReferenceNode:continue:"]}),
 smalltalk.ClassReferenceNode);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Interpreter.js

@@ -2045,4 +2045,4 @@ referencedClasses: []
 }),
 smalltalk.ClassReferenceNode);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Semantic.deploy.js

@@ -1342,4 +1342,4 @@ messageSends: ["theClass:", "new", "yourself"]}),
 smalltalk.SemanticAnalyzer.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Semantic.js

@@ -1778,4 +1778,4 @@ referencedClasses: []
 smalltalk.SemanticAnalyzer.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Tests.deploy.js

@@ -1256,4 +1256,4 @@ smalltalk.SemanticAnalyzerTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Compiler-Tests.js

@@ -1666,4 +1666,4 @@ smalltalk.SemanticAnalyzerTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Examples.deploy.js

@@ -83,4 +83,4 @@ messageSends: ["appendToJQuery:", "asJQuery", "new"]}),
 smalltalk.Counterzzz.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Examples.js

@@ -109,4 +109,4 @@ referencedClasses: []
 smalltalk.Counterzzz.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Announcements.deploy.js

@@ -403,4 +403,4 @@ smalltalk.addClass('HLShowInstanceToggled', smalltalk.HLAnnouncement, [], 'Helio
 smalltalk.addClass('HLSourceCodeSaved', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Announcements.js

@@ -534,4 +534,4 @@ smalltalk.addClass('HLShowInstanceToggled', smalltalk.HLAnnouncement, [], 'Helio
 smalltalk.addClass('HLSourceCodeSaved', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Browser.deploy.js

@@ -2987,4 +2987,4 @@ messageSends: ["shouldNotImplement"]}),
 smalltalk.HLSelectorsCache.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Browser.js

@@ -3894,4 +3894,4 @@ referencedClasses: []
 smalltalk.HLSelectorsCache.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Commands-Browser.deploy.js

@@ -419,4 +419,4 @@ messageSends: []}),
 smalltalk.HLToggleInstanceSideCommand.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Commands-Browser.js

@@ -589,4 +589,4 @@ referencedClasses: []
 smalltalk.HLToggleInstanceSideCommand.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Commands-Core.deploy.js

@@ -628,4 +628,4 @@ messageSends: []}),
 smalltalk.HLViewCommand.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Commands-Core.js

@@ -858,4 +858,4 @@ referencedClasses: []
 smalltalk.HLViewCommand.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Commands-Tools.deploy.js

@@ -1342,4 +1342,4 @@ messageSends: []}),
 smalltalk.HLRenameProtocolCommand.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Commands-Tools.js

@@ -1897,4 +1897,4 @@ referencedClasses: []
 smalltalk.HLRenameProtocolCommand.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 153 - 77
js/Helios-Commands.deploy.js

@@ -7,9 +7,11 @@ smalltalk.method({
 selector: "asActionBinding",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st((smalltalk.HLBindingAction || HLBindingAction))._on_labelled_(_st(self)._key(),_st(self)._label()))._callback_((function(){
-return smalltalk.withContext(function($ctx2) {
return _st(self)._execute();
+return smalltalk.withContext(function($ctx2) {
+return _st(self)._execute();
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"asActionBinding",{},smalltalk.HLCommand)})},
@@ -22,7 +24,8 @@ smalltalk.method({
 selector: "asBinding",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $2,$1;
+return smalltalk.withContext(function($ctx1) { 
+var $2,$1;
 $2=_st(self)._isBindingGroup();
 if(smalltalk.assert($2)){
 $1=_st(self)._asGroupBinding();
@@ -40,7 +43,8 @@ smalltalk.method({
 selector: "asGroupBinding",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st((smalltalk.HLBindingGroup || HLBindingGroup))._on_labelled_(_st(self)._key(),_st(self)._label());
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"asGroupBinding",{},smalltalk.HLCommand)})},
@@ -53,7 +57,8 @@ smalltalk.method({
 selector: "documentation",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._class())._documentation();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"documentation",{}, smalltalk.HLCommand)})},
@@ -66,7 +71,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCommand)})},
+return smalltalk.withContext(function($ctx1) { 
+return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCommand)})},
 messageSends: []}),
 smalltalk.HLCommand);
 
@@ -76,7 +82,8 @@ smalltalk.method({
 selector: "isBindingGroup",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(_st(_st(self)._class())._methodDictionary())._includesKey_("execute"))._not();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"isBindingGroup",{},smalltalk.HLCommand)})},
@@ -89,7 +96,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._class())._key();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLCommand)})},
@@ -102,7 +110,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._class())._label();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCommand)})},
@@ -115,7 +124,8 @@ smalltalk.method({
 selector: "registerOn:",
 fn: function (aBinding){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(aBinding)._add_(_st(self)._asBinding());
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"registerOn:",{aBinding:aBinding},smalltalk.HLCommand)})},
@@ -129,9 +139,11 @@ smalltalk.method({
 selector: "concreteSubclasses",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._subclasses())._select_((function(each){
-return smalltalk.withContext(function($ctx2) {
return _st(each)._isConcrete();
+return smalltalk.withContext(function($ctx2) {
+return _st(each)._isConcrete();
 }, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1)})}));
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"concreteSubclasses",{},smalltalk.HLCommand.klass)})},
@@ -144,7 +156,8 @@ smalltalk.method({
 selector: "documentation",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "";
+return smalltalk.withContext(function($ctx1) { 
+return "";
 }, function($ctx1) {$ctx1.fill(self,"documentation",{}, smalltalk.HLCommand.klass)})},
 messageSends: []}),
 smalltalk.HLCommand.klass);
@@ -155,7 +168,8 @@ smalltalk.method({
 selector: "isConcrete",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._key())._notNil();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"isConcrete",{},smalltalk.HLCommand.klass)})},
@@ -168,7 +182,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return nil;
+return smalltalk.withContext(function($ctx1) { 
+return nil;
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLCommand.klass)})},
 messageSends: []}),
 smalltalk.HLCommand.klass);
@@ -179,7 +194,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "";
+return smalltalk.withContext(function($ctx1) { 
+return "";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCommand.klass)})},
 messageSends: []}),
 smalltalk.HLCommand.klass);
@@ -190,10 +206,12 @@ smalltalk.method({
 selector: "registerConcreteClassesOn:",
 fn: function (aBinding){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 _st(_st(self)._concreteSubclasses())._do_((function(each){
 var binding;
-return smalltalk.withContext(function($ctx2) {
binding=_st(each)._registerOn_(aBinding);
+return smalltalk.withContext(function($ctx2) {
+binding=_st(each)._registerOn_(aBinding);
 binding;
 $1=_st(binding)._isBindingGroup();
 if(smalltalk.assert($1)){
@@ -210,7 +228,8 @@ smalltalk.method({
 selector: "registerOn:",
 fn: function (aBinding){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._new())._registerOn_(aBinding);
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"registerOn:",{aBinding:aBinding},smalltalk.HLCommand.klass)})},
@@ -225,7 +244,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st((smalltalk.HLManager || HLManager))._current())._removeActiveTab();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st((smalltalk.HLManager || HLManager))._current())._removeActiveTab();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCloseTabCommand)})},
 messageSends: ["removeActiveTab", "current"]}),
 smalltalk.HLCloseTabCommand);
@@ -237,7 +257,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (87);
+return smalltalk.withContext(function($ctx1) { 
+return (87);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCloseTabCommand.klass)})},
 messageSends: []}),
 smalltalk.HLCloseTabCommand.klass);
@@ -248,7 +269,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Close tab";
+return smalltalk.withContext(function($ctx1) { 
+return "Close tab";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCloseTabCommand.klass)})},
 messageSends: []}),
 smalltalk.HLCloseTabCommand.klass);
@@ -261,7 +283,8 @@ smalltalk.method({
 selector: "model",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=self["@model"];
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"model",{},smalltalk.HLModelCommand)})},
@@ -274,7 +297,8 @@ smalltalk.method({
 selector: "model:",
 fn: function (aModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
self["@model"]=aModel;
+return smalltalk.withContext(function($ctx1) { 
+self["@model"]=aModel;
 return self}, function($ctx1) {$ctx1.fill(self,"model:",{aModel:aModel},smalltalk.HLModelCommand)})},
 messageSends: []}),
 smalltalk.HLModelCommand);
@@ -286,7 +310,8 @@ smalltalk.method({
 selector: "for:",
 fn: function (aModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(self)._new();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"for:",{aModel:aModel},smalltalk.HLModelCommand.klass)})},
@@ -299,10 +324,12 @@ smalltalk.method({
 selector: "registerConcreteClassesOn:for:",
 fn: function (aBinding,aModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 _st(_st(self)._concreteSubclasses())._do_((function(each){
 var binding;
-return smalltalk.withContext(function($ctx2) {
binding=_st(each)._registerOn_for_(aBinding,aModel);
+return smalltalk.withContext(function($ctx2) {
+binding=_st(each)._registerOn_for_(aBinding,aModel);
 binding;
 $1=_st(binding)._isBindingGroup();
 if(smalltalk.assert($1)){
@@ -319,7 +346,8 @@ smalltalk.method({
 selector: "registerOn:for:",
 fn: function (aBinding,aModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._for_(aModel))._registerOn_(aBinding);
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"registerOn:for:",{aBinding:aBinding,aModel:aModel},smalltalk.HLModelCommand.klass)})},
@@ -335,7 +363,8 @@ smalltalk.method({
 selector: "for:",
 fn: function (aBrowserModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $2,$3,$1;
+return smalltalk.withContext(function($ctx1) { 
+var $2,$3,$1;
 $2=_st(self)._new();
 _st($2)._model_(aBrowserModel);
 $3=_st($2)._yourself();
@@ -354,7 +383,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (71);
+return smalltalk.withContext(function($ctx1) { 
+return (71);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToCommand.klass);
@@ -365,7 +395,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Go to";
+return smalltalk.withContext(function($ctx1) { 
+return "Go to";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToCommand.klass);
@@ -378,7 +409,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnClasses();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnClasses();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToClassesCommand)})},
 messageSends: ["focusOnClasses", "model"]}),
 smalltalk.HLGoToClassesCommand);
@@ -390,7 +422,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (67);
+return smalltalk.withContext(function($ctx1) { 
+return (67);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToClassesCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToClassesCommand.klass);
@@ -401,7 +434,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Classes";
+return smalltalk.withContext(function($ctx1) { 
+return "Classes";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToClassesCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToClassesCommand.klass);
@@ -414,7 +448,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnMethods();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnMethods();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToMethodsCommand)})},
 messageSends: ["focusOnMethods", "model"]}),
 smalltalk.HLGoToMethodsCommand);
@@ -426,7 +461,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (77);
+return smalltalk.withContext(function($ctx1) { 
+return (77);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToMethodsCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToMethodsCommand.klass);
@@ -437,7 +473,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Methods";
+return smalltalk.withContext(function($ctx1) { 
+return "Methods";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToMethodsCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToMethodsCommand.klass);
@@ -450,7 +487,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnPackages();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnPackages();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToPackagesCommand)})},
 messageSends: ["focusOnPackages", "model"]}),
 smalltalk.HLGoToPackagesCommand);
@@ -462,7 +500,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (80);
+return smalltalk.withContext(function($ctx1) { 
+return (80);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToPackagesCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToPackagesCommand.klass);
@@ -473,7 +512,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Packages";
+return smalltalk.withContext(function($ctx1) { 
+return "Packages";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToPackagesCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToPackagesCommand.klass);
@@ -486,7 +526,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnProtocols();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnProtocols();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToProtocolsCommand)})},
 messageSends: ["focusOnProtocols", "model"]}),
 smalltalk.HLGoToProtocolsCommand);
@@ -498,7 +539,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (84);
+return smalltalk.withContext(function($ctx1) { 
+return (84);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToProtocolsCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToProtocolsCommand.klass);
@@ -509,7 +551,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Protocols";
+return smalltalk.withContext(function($ctx1) { 
+return "Protocols";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToProtocolsCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToProtocolsCommand.klass);
@@ -522,7 +565,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnSourceCode();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnSourceCode();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToSourceCodeCommand)})},
 messageSends: ["focusOnSourceCode", "model"]}),
 smalltalk.HLGoToSourceCodeCommand);
@@ -534,7 +578,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (83);
+return smalltalk.withContext(function($ctx1) { 
+return (83);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToSourceCodeCommand.klass);
@@ -545,7 +590,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Source code";
+return smalltalk.withContext(function($ctx1) { 
+return "Source code";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
 messageSends: []}),
 smalltalk.HLGoToSourceCodeCommand.klass);
@@ -559,7 +605,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (77);
+return smalltalk.withContext(function($ctx1) { 
+return (77);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
 messageSends: []}),
 smalltalk.HLMoveToCommand.klass);
@@ -570,7 +617,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Move";
+return smalltalk.withContext(function($ctx1) { 
+return "Move";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
 messageSends: []}),
 smalltalk.HLMoveToCommand.klass);
@@ -584,7 +632,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (77);
+return smalltalk.withContext(function($ctx1) { 
+return (77);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
 messageSends: []}),
 smalltalk.HLMoveMethodToCommand.klass);
@@ -595,7 +644,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Method";
+return smalltalk.withContext(function($ctx1) { 
+return "Method";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
 messageSends: []}),
 smalltalk.HLMoveMethodToCommand.klass);
@@ -608,7 +658,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
+return smalltalk.withContext(function($ctx1) { 
+return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
 messageSends: []}),
 smalltalk.HLMoveMethodToClassCommand);
 
@@ -619,7 +670,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (67);
+return smalltalk.withContext(function($ctx1) { 
+return (67);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
 messageSends: []}),
 smalltalk.HLMoveMethodToClassCommand.klass);
@@ -630,7 +682,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "to class";
+return smalltalk.withContext(function($ctx1) { 
+return "to class";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
 messageSends: []}),
 smalltalk.HLMoveMethodToClassCommand.klass);
@@ -643,7 +696,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
+return smalltalk.withContext(function($ctx1) { 
+return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
 messageSends: []}),
 smalltalk.HLMoveMethodToProtocolCommand);
 
@@ -654,7 +708,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (84);
+return smalltalk.withContext(function($ctx1) { 
+return (84);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
 messageSends: []}),
 smalltalk.HLMoveMethodToProtocolCommand.klass);
@@ -665,7 +720,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "to protocol";
+return smalltalk.withContext(function($ctx1) { 
+return "to protocol";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
 messageSends: []}),
 smalltalk.HLMoveMethodToProtocolCommand.klass);
@@ -679,7 +735,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (84);
+return smalltalk.withContext(function($ctx1) { 
+return (84);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
 messageSends: []}),
 smalltalk.HLToggleCommand.klass);
@@ -690,7 +747,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Toggle";
+return smalltalk.withContext(function($ctx1) { 
+return "Toggle";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
 messageSends: []}),
 smalltalk.HLToggleCommand.klass);
@@ -703,7 +761,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._showInstance_(false);
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._showInstance_(false);
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
 messageSends: ["showInstance:", "model"]}),
 smalltalk.HLToggleClassSideCommand);
@@ -715,7 +774,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (67);
+return smalltalk.withContext(function($ctx1) { 
+return (67);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
 messageSends: []}),
 smalltalk.HLToggleClassSideCommand.klass);
@@ -726,7 +786,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Class side";
+return smalltalk.withContext(function($ctx1) { 
+return "Class side";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
 messageSends: []}),
 smalltalk.HLToggleClassSideCommand.klass);
@@ -739,7 +800,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._showInstance_(true);
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._showInstance_(true);
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
 messageSends: ["showInstance:", "model"]}),
 smalltalk.HLToggleInstanceSideCommand);
@@ -751,7 +813,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (73);
+return smalltalk.withContext(function($ctx1) { 
+return (73);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
 messageSends: []}),
 smalltalk.HLToggleInstanceSideCommand.klass);
@@ -762,7 +825,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Instance side";
+return smalltalk.withContext(function($ctx1) { 
+return "Instance side";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
 messageSends: []}),
 smalltalk.HLToggleInstanceSideCommand.klass);
@@ -776,7 +840,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (79);
+return smalltalk.withContext(function($ctx1) { 
+return (79);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLOpenCommand.klass)})},
 messageSends: []}),
 smalltalk.HLOpenCommand.klass);
@@ -787,7 +852,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Open";
+return smalltalk.withContext(function($ctx1) { 
+return "Open";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLOpenCommand.klass)})},
 messageSends: []}),
 smalltalk.HLOpenCommand.klass);
@@ -800,7 +866,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st((smalltalk.HLBrowser || HLBrowser))._openAsTab();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLOpenBrowserCommand)})},
@@ -814,7 +881,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (66);
+return smalltalk.withContext(function($ctx1) { 
+return (66);
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenBrowserCommand.klass)})},
 messageSends: []}),
 smalltalk.HLOpenBrowserCommand.klass);
@@ -825,7 +893,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Browser";
+return smalltalk.withContext(function($ctx1) { 
+return "Browser";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenBrowserCommand.klass)})},
 messageSends: []}),
 smalltalk.HLOpenBrowserCommand.klass);
@@ -838,7 +907,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st((smalltalk.HLTranscript || HLTranscript))._openAsTab();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLOpenTranscriptCommand)})},
@@ -852,7 +922,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (84);
+return smalltalk.withContext(function($ctx1) { 
+return (84);
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenTranscriptCommand.klass)})},
 messageSends: []}),
 smalltalk.HLOpenTranscriptCommand.klass);
@@ -863,7 +934,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Transcript";
+return smalltalk.withContext(function($ctx1) { 
+return "Transcript";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenTranscriptCommand.klass)})},
 messageSends: []}),
 smalltalk.HLOpenTranscriptCommand.klass);
@@ -876,7 +948,8 @@ smalltalk.method({
 selector: "execute",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st((smalltalk.HLCodeWidget || HLCodeWidget))._openAsTab();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLOpenWorkspaceCommand)})},
@@ -890,7 +963,8 @@ smalltalk.method({
 selector: "key",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (87);
+return smalltalk.withContext(function($ctx1) { 
+return (87);
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenWorkspaceCommand.klass)})},
 messageSends: []}),
 smalltalk.HLOpenWorkspaceCommand.klass);
@@ -901,7 +975,8 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Workspace";
+return smalltalk.withContext(function($ctx1) { 
+return "Workspace";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenWorkspaceCommand.klass)})},
 messageSends: []}),
 smalltalk.HLOpenWorkspaceCommand.klass);
@@ -915,10 +990,11 @@ smalltalk.method({
 selector: "label",
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "View";
+return smalltalk.withContext(function($ctx1) { 
+return "View";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLViewCommand.klass)})},
 messageSends: []}),
 smalltalk.HLViewCommand.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 153 - 77
js/Helios-Commands.js

@@ -8,9 +8,11 @@ selector: "asActionBinding",
 category: 'converting',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st((smalltalk.HLBindingAction || HLBindingAction))._on_labelled_(_st(self)._key(),_st(self)._label()))._callback_((function(){
-return smalltalk.withContext(function($ctx2) {
return _st(self)._execute();
+return smalltalk.withContext(function($ctx2) {
+return _st(self)._execute();
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"asActionBinding",{},smalltalk.HLCommand)})},
@@ -28,7 +30,8 @@ selector: "asBinding",
 category: 'converting',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $2,$1;
+return smalltalk.withContext(function($ctx1) { 
+var $2,$1;
 $2=_st(self)._isBindingGroup();
 if(smalltalk.assert($2)){
 $1=_st(self)._asGroupBinding();
@@ -51,7 +54,8 @@ selector: "asGroupBinding",
 category: 'converting',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st((smalltalk.HLBindingGroup || HLBindingGroup))._on_labelled_(_st(self)._key(),_st(self)._label());
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"asGroupBinding",{},smalltalk.HLCommand)})},
@@ -69,7 +73,8 @@ selector: "documentation",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._class())._documentation();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"documentation",{}, smalltalk.HLCommand)})},
@@ -87,7 +92,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCommand)})},
+return smalltalk.withContext(function($ctx1) { 
+return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCommand)})},
 args: [],
 source: "execute\x0a\x09",
 messageSends: [],
@@ -102,7 +108,8 @@ selector: "isBindingGroup",
 category: 'testing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(_st(_st(self)._class())._methodDictionary())._includesKey_("execute"))._not();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"isBindingGroup",{},smalltalk.HLCommand)})},
@@ -120,7 +127,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._class())._key();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLCommand)})},
@@ -138,7 +146,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._class())._label();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCommand)})},
@@ -156,7 +165,8 @@ selector: "registerOn:",
 category: 'registration',
 fn: function (aBinding){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(aBinding)._add_(_st(self)._asBinding());
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"registerOn:",{aBinding:aBinding},smalltalk.HLCommand)})},
@@ -175,9 +185,11 @@ selector: "concreteSubclasses",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._subclasses())._select_((function(each){
-return smalltalk.withContext(function($ctx2) {
return _st(each)._isConcrete();
+return smalltalk.withContext(function($ctx2) {
+return _st(each)._isConcrete();
 }, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1)})}));
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"concreteSubclasses",{},smalltalk.HLCommand.klass)})},
@@ -195,7 +207,8 @@ selector: "documentation",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "";
+return smalltalk.withContext(function($ctx1) { 
+return "";
 }, function($ctx1) {$ctx1.fill(self,"documentation",{}, smalltalk.HLCommand.klass)})},
 args: [],
 source: "documentation\x0a\x09^ ''",
@@ -211,7 +224,8 @@ selector: "isConcrete",
 category: 'testing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._key())._notNil();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"isConcrete",{},smalltalk.HLCommand.klass)})},
@@ -229,7 +243,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return nil;
+return smalltalk.withContext(function($ctx1) { 
+return nil;
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ nil",
@@ -245,7 +260,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "";
+return smalltalk.withContext(function($ctx1) { 
+return "";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ ''",
@@ -261,10 +277,12 @@ selector: "registerConcreteClassesOn:",
 category: 'registration',
 fn: function (aBinding){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 _st(_st(self)._concreteSubclasses())._do_((function(each){
 var binding;
-return smalltalk.withContext(function($ctx2) {
binding=_st(each)._registerOn_(aBinding);
+return smalltalk.withContext(function($ctx2) {
+binding=_st(each)._registerOn_(aBinding);
 binding;
 $1=_st(binding)._isBindingGroup();
 if(smalltalk.assert($1)){
@@ -286,7 +304,8 @@ selector: "registerOn:",
 category: 'registration',
 fn: function (aBinding){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._new())._registerOn_(aBinding);
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"registerOn:",{aBinding:aBinding},smalltalk.HLCommand.klass)})},
@@ -306,7 +325,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st((smalltalk.HLManager || HLManager))._current())._removeActiveTab();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st((smalltalk.HLManager || HLManager))._current())._removeActiveTab();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCloseTabCommand)})},
 args: [],
 source: "execute\x0a\x09HLManager current removeActiveTab",
@@ -323,7 +343,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (87);
+return smalltalk.withContext(function($ctx1) { 
+return (87);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCloseTabCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 87",
@@ -339,7 +360,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Close tab";
+return smalltalk.withContext(function($ctx1) { 
+return "Close tab";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCloseTabCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Close tab'",
@@ -357,7 +379,8 @@ selector: "model",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=self["@model"];
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"model",{},smalltalk.HLModelCommand)})},
@@ -375,7 +398,8 @@ selector: "model:",
 category: 'accessing',
 fn: function (aModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
self["@model"]=aModel;
+return smalltalk.withContext(function($ctx1) { 
+self["@model"]=aModel;
 return self}, function($ctx1) {$ctx1.fill(self,"model:",{aModel:aModel},smalltalk.HLModelCommand)})},
 args: ["aModel"],
 source: "model: aModel\x0a\x09model := aModel",
@@ -392,7 +416,8 @@ selector: "for:",
 category: 'instance creation',
 fn: function (aModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(self)._new();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"for:",{aModel:aModel},smalltalk.HLModelCommand.klass)})},
@@ -410,10 +435,12 @@ selector: "registerConcreteClassesOn:for:",
 category: 'registration',
 fn: function (aBinding,aModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 _st(_st(self)._concreteSubclasses())._do_((function(each){
 var binding;
-return smalltalk.withContext(function($ctx2) {
binding=_st(each)._registerOn_for_(aBinding,aModel);
+return smalltalk.withContext(function($ctx2) {
+binding=_st(each)._registerOn_for_(aBinding,aModel);
 binding;
 $1=_st(binding)._isBindingGroup();
 if(smalltalk.assert($1)){
@@ -435,7 +462,8 @@ selector: "registerOn:for:",
 category: 'registration',
 fn: function (aBinding,aModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st(_st(self)._for_(aModel))._registerOn_(aBinding);
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"registerOn:for:",{aBinding:aBinding,aModel:aModel},smalltalk.HLModelCommand.klass)})},
@@ -456,7 +484,8 @@ selector: "for:",
 category: 'instance creation',
 fn: function (aBrowserModel){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $2,$3,$1;
+return smalltalk.withContext(function($ctx1) { 
+var $2,$3,$1;
 $2=_st(self)._new();
 _st($2)._model_(aBrowserModel);
 $3=_st($2)._yourself();
@@ -480,7 +509,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (71);
+return smalltalk.withContext(function($ctx1) { 
+return (71);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 71",
@@ -496,7 +526,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Go to";
+return smalltalk.withContext(function($ctx1) { 
+return "Go to";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Go to'",
@@ -514,7 +545,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnClasses();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnClasses();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToClassesCommand)})},
 args: [],
 source: "execute\x0a\x09self model focusOnClasses",
@@ -531,7 +563,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (67);
+return smalltalk.withContext(function($ctx1) { 
+return (67);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToClassesCommand.klass)})},
 args: [],
 source: "key\x0a\x09\x22c\x22\x0a    \x0a\x09^ 67",
@@ -547,7 +580,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Classes";
+return smalltalk.withContext(function($ctx1) { 
+return "Classes";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToClassesCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Classes'",
@@ -565,7 +599,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnMethods();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnMethods();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToMethodsCommand)})},
 args: [],
 source: "execute\x0a\x09self model focusOnMethods",
@@ -582,7 +617,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (77);
+return smalltalk.withContext(function($ctx1) { 
+return (77);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToMethodsCommand.klass)})},
 args: [],
 source: "key\x0a\x09\x22m\x22\x0a    \x0a\x09^ 77",
@@ -598,7 +634,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Methods";
+return smalltalk.withContext(function($ctx1) { 
+return "Methods";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToMethodsCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Methods'",
@@ -616,7 +653,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnPackages();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnPackages();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToPackagesCommand)})},
 args: [],
 source: "execute\x0a\x09self model focusOnPackages",
@@ -633,7 +671,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (80);
+return smalltalk.withContext(function($ctx1) { 
+return (80);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToPackagesCommand.klass)})},
 args: [],
 source: "key\x0a\x09\x22p\x22\x0a    \x0a\x09^ 80",
@@ -649,7 +688,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Packages";
+return smalltalk.withContext(function($ctx1) { 
+return "Packages";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToPackagesCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Packages'",
@@ -667,7 +707,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnProtocols();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnProtocols();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToProtocolsCommand)})},
 args: [],
 source: "execute\x0a\x09self model focusOnProtocols",
@@ -684,7 +725,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (84);
+return smalltalk.withContext(function($ctx1) { 
+return (84);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToProtocolsCommand.klass)})},
 args: [],
 source: "key\x0a\x09\x22p\x22\x0a    \x0a\x09^ 84",
@@ -700,7 +742,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Protocols";
+return smalltalk.withContext(function($ctx1) { 
+return "Protocols";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToProtocolsCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Protocols'",
@@ -718,7 +761,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._focusOnSourceCode();
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._focusOnSourceCode();
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToSourceCodeCommand)})},
 args: [],
 source: "execute\x0a\x09self model focusOnSourceCode",
@@ -735,7 +779,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (83);
+return smalltalk.withContext(function($ctx1) { 
+return (83);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
 args: [],
 source: "key\x0a\x09\x22s\x22\x0a    \x0a\x09^ 83",
@@ -751,7 +796,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Source code";
+return smalltalk.withContext(function($ctx1) { 
+return "Source code";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Source code'",
@@ -770,7 +816,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (77);
+return smalltalk.withContext(function($ctx1) { 
+return (77);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 77",
@@ -786,7 +833,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Move";
+return smalltalk.withContext(function($ctx1) { 
+return "Move";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Move'",
@@ -805,7 +853,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (77);
+return smalltalk.withContext(function($ctx1) { 
+return (77);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 77",
@@ -821,7 +870,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Method";
+return smalltalk.withContext(function($ctx1) { 
+return "Method";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Method'",
@@ -839,7 +889,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
+return smalltalk.withContext(function($ctx1) { 
+return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
 args: [],
 source: "execute",
 messageSends: [],
@@ -855,7 +906,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (67);
+return smalltalk.withContext(function($ctx1) { 
+return (67);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 67",
@@ -871,7 +923,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "to class";
+return smalltalk.withContext(function($ctx1) { 
+return "to class";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
 args: [],
 source: "label\x09\x0a\x09^ 'to class'",
@@ -889,7 +942,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
+return smalltalk.withContext(function($ctx1) { 
+return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
 args: [],
 source: "execute",
 messageSends: [],
@@ -905,7 +959,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (84);
+return smalltalk.withContext(function($ctx1) { 
+return (84);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 84",
@@ -921,7 +976,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "to protocol";
+return smalltalk.withContext(function($ctx1) { 
+return "to protocol";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'to protocol'",
@@ -940,7 +996,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (84);
+return smalltalk.withContext(function($ctx1) { 
+return (84);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 84",
@@ -956,7 +1013,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Toggle";
+return smalltalk.withContext(function($ctx1) { 
+return "Toggle";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Toggle'",
@@ -974,7 +1032,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._showInstance_(false);
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._showInstance_(false);
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
 args: [],
 source: "execute\x0a\x09self model showInstance: false",
@@ -991,7 +1050,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (67);
+return smalltalk.withContext(function($ctx1) { 
+return (67);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
 args: [],
 source: "key\x0a\x09\x22c\x22\x0a    \x0a\x09^ 67",
@@ -1007,7 +1067,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Class side";
+return smalltalk.withContext(function($ctx1) { 
+return "Class side";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Class side'",
@@ -1025,7 +1086,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
_st(_st(self)._model())._showInstance_(true);
+return smalltalk.withContext(function($ctx1) { 
+_st(_st(self)._model())._showInstance_(true);
 return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
 args: [],
 source: "execute\x0a\x09self model showInstance: true",
@@ -1042,7 +1104,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (73);
+return smalltalk.withContext(function($ctx1) { 
+return (73);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
 args: [],
 source: "key\x0a\x09\x22i\x22\x0a    \x0a\x09^ 73",
@@ -1058,7 +1121,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Instance side";
+return smalltalk.withContext(function($ctx1) { 
+return "Instance side";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Instance side'",
@@ -1077,7 +1141,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (79);
+return smalltalk.withContext(function($ctx1) { 
+return (79);
 }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLOpenCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 79",
@@ -1093,7 +1158,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Open";
+return smalltalk.withContext(function($ctx1) { 
+return "Open";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLOpenCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Open'",
@@ -1111,7 +1177,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st((smalltalk.HLBrowser || HLBrowser))._openAsTab();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLOpenBrowserCommand)})},
@@ -1130,7 +1197,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (66);
+return smalltalk.withContext(function($ctx1) { 
+return (66);
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenBrowserCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 66",
@@ -1146,7 +1214,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Browser";
+return smalltalk.withContext(function($ctx1) { 
+return "Browser";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenBrowserCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Browser'",
@@ -1164,7 +1233,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st((smalltalk.HLTranscript || HLTranscript))._openAsTab();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLOpenTranscriptCommand)})},
@@ -1183,7 +1253,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (84);
+return smalltalk.withContext(function($ctx1) { 
+return (84);
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenTranscriptCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 84",
@@ -1199,7 +1270,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Transcript";
+return smalltalk.withContext(function($ctx1) { 
+return "Transcript";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenTranscriptCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Transcript'",
@@ -1217,7 +1289,8 @@ selector: "execute",
 category: 'executing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
var $1;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
 $1=_st((smalltalk.HLCodeWidget || HLCodeWidget))._openAsTab();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLOpenWorkspaceCommand)})},
@@ -1236,7 +1309,8 @@ selector: "key",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return (87);
+return smalltalk.withContext(function($ctx1) { 
+return (87);
 }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenWorkspaceCommand.klass)})},
 args: [],
 source: "key\x0a\x09^ 87",
@@ -1252,7 +1326,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "Workspace";
+return smalltalk.withContext(function($ctx1) { 
+return "Workspace";
 }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenWorkspaceCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'Workspace'",
@@ -1271,7 +1346,8 @@ selector: "label",
 category: 'accessing',
 fn: function (){
 var self=this;
-return smalltalk.withContext(function($ctx1) { 
return "View";
+return smalltalk.withContext(function($ctx1) { 
+return "View";
 }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLViewCommand.klass)})},
 args: [],
 source: "label\x0a\x09^ 'View'",
@@ -1281,4 +1357,4 @@ referencedClasses: []
 smalltalk.HLViewCommand.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Core.deploy.js

@@ -3699,4 +3699,4 @@ messageSends: []}),
 smalltalk.HLSUnit.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Core.js

@@ -4870,4 +4870,4 @@ referencedClasses: []
 smalltalk.HLSUnit.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Debugger.deploy.js

@@ -699,4 +699,4 @@ smalltalk.HLStackListWidget);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Debugger.js

@@ -921,4 +921,4 @@ smalltalk.HLStackListWidget);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Exceptions.deploy.js

@@ -6,4 +6,4 @@ smalltalk.addClass('HLError', smalltalk.Error, [], 'Helios-Exceptions');
 smalltalk.addClass('HLChangeForbidden', smalltalk.HLError, [], 'Helios-Exceptions');
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Exceptions.js

@@ -6,4 +6,4 @@ smalltalk.addClass('HLError', smalltalk.Error, [], 'Helios-Exceptions');
 smalltalk.addClass('HLChangeForbidden', smalltalk.HLError, [], 'Helios-Exceptions');
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Inspector.deploy.js

@@ -1062,4 +1062,4 @@ messageSends: ["valueWithInterval:", "do:", "refresh", "inspectors"]}),
 smalltalk.HLInspector.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Inspector.js

@@ -1432,4 +1432,4 @@ referencedClasses: []
 smalltalk.HLInspector.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-KeyBindings.deploy.js

@@ -1689,4 +1689,4 @@ messageSends: ["widget:", "new", "yourself"]}),
 smalltalk.HLRepeatingKeyBindingHandler.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-KeyBindings.js

@@ -2230,4 +2230,4 @@ referencedClasses: []
 smalltalk.HLRepeatingKeyBindingHandler.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Layout.deploy.js

@@ -392,4 +392,4 @@ return false;
 messageSends: []}),
 smalltalk.Object);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Layout.js

@@ -532,4 +532,4 @@ referencedClasses: []
 }),
 smalltalk.Object);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-References.deploy.js

@@ -841,4 +841,4 @@ smalltalk.HLReferencesModel);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-References.js

@@ -1111,4 +1111,4 @@ smalltalk.HLReferencesModel);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Transcript.deploy.js

@@ -172,4 +172,4 @@ messageSends: ["remove:", "transcripts"]}),
 smalltalk.HLTranscriptHandler.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Transcript.js

@@ -234,4 +234,4 @@ referencedClasses: []
 smalltalk.HLTranscriptHandler.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Workspace-Tests.deploy.js

@@ -17,4 +17,4 @@ smalltalk.HLCodeWidgetTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Workspace-Tests.js

@@ -22,4 +22,4 @@ smalltalk.HLCodeWidgetTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Workspace.deploy.js

@@ -1576,4 +1576,4 @@ messageSends: []}),
 smalltalk.HLWorkspace.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Helios-Workspace.js

@@ -2076,4 +2076,4 @@ referencedClasses: []
 smalltalk.HLWorkspace.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/IDE.deploy.js

@@ -5539,4 +5539,4 @@ return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspe
 messageSends: ["new", "at:put:", "home", "receiver", "selector", "temps", "do:", "instVarAt:", "instanceVariableNames", "class", "setLabel:", "printString", "setVariables:"]}),
 smalltalk.MethodContext);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/IDE.js

@@ -6964,4 +6964,4 @@ referencedClasses: ["Dictionary"]
 }),
 smalltalk.MethodContext);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Importer-Exporter.deploy.js

@@ -836,4 +836,4 @@ return $1;
 messageSends: ["commit:", "new"]}),
 smalltalk.Package);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Importer-Exporter.js

@@ -1022,4 +1022,4 @@ referencedClasses: ["PackageHandler"]
 }),
 smalltalk.Package);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Announcements.deploy.js

@@ -554,4 +554,4 @@ smalltalk.addClass('ProtocolAdded', smalltalk.ProtocolAnnouncement, [], 'Kernel-
 smalltalk.addClass('ProtocolRemoved', smalltalk.ProtocolAnnouncement, [], 'Kernel-Announcements');
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Announcements.js

@@ -762,4 +762,4 @@ smalltalk.addClass('ProtocolRemoved', smalltalk.ProtocolAnnouncement, [], 'Kerne
 smalltalk.ProtocolRemoved.comment="I am emitted when a protocol is removed from a class.";
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Classes.deploy.js

@@ -1638,4 +1638,4 @@ messageSends: ["theClass:", "new", "level:", "getNodesFrom:", "yourself"]}),
 smalltalk.ClassSorterNode.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Classes.js

@@ -2145,4 +2145,4 @@ referencedClasses: []
 smalltalk.ClassSorterNode.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Collections.deploy.js

@@ -4263,4 +4263,4 @@ smalltalk.StringStream);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Collections.js

@@ -5737,4 +5737,4 @@ smalltalk.StringStream);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Exceptions.deploy.js

@@ -452,4 +452,4 @@ messageSends: []}),
 smalltalk.ErrorHandler.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Exceptions.js

@@ -627,4 +627,4 @@ referencedClasses: []
 smalltalk.ErrorHandler.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Methods.deploy.js

@@ -1307,4 +1307,4 @@ messageSends: []}),
 smalltalk.NativeFunction.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Methods.js

@@ -1769,4 +1769,4 @@ referencedClasses: []
 smalltalk.NativeFunction.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Objects.deploy.js

@@ -4339,4 +4339,4 @@ return $1;
 messageSends: ["replace:with:"]}),
 smalltalk.String);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Objects.js

@@ -5926,4 +5926,4 @@ referencedClasses: []
 }),
 smalltalk.String);
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Tests.deploy.js

@@ -3774,4 +3774,4 @@ smalltalk.UndefinedTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Tests.js

@@ -4776,4 +4776,4 @@ smalltalk.UndefinedTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Transcript.deploy.js

@@ -151,4 +151,4 @@ messageSends: ["show:", "current"]}),
 smalltalk.Transcript.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Kernel-Transcript.js

@@ -218,4 +218,4 @@ referencedClasses: []
 smalltalk.Transcript.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/SUnit-Tests.deploy.js

@@ -428,4 +428,4 @@ smalltalk.SUnitAsyncTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/SUnit-Tests.js

@@ -544,4 +544,4 @@ smalltalk.SUnitAsyncTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/SUnit.deploy.js

@@ -922,4 +922,4 @@ messageSends: ["suite:", "new"]}),
 smalltalk.TestSuiteRunner.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/SUnit.js

@@ -1234,4 +1234,4 @@ referencedClasses: []
 smalltalk.TestSuiteRunner.klass);
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Spaces.deploy.js

@@ -250,4 +250,4 @@ smalltalk.ObjectSpaceTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
js/Spaces.js

@@ -336,4 +336,4 @@ smalltalk.ObjectSpaceTest);
 
 
 
-})(smalltalk,nil,_st);
+})(global_smalltalk,global_nil,global__st);

+ 2 - 2
js/amber.js

@@ -206,9 +206,9 @@ amber = (function() {
 
 	// This will be called after JS files have been loaded
 	function initializeSmalltalk() {
-		that.smalltalkReady = function() {
+		that.smalltalkReady = function(smalltalk,nil,_st) {
 			if (spec.ready) {
-				spec.ready();
+				spec.ready(smalltalk,nil,_st);
 			}
 			evaluateSmalltalkScripts();
 		};

+ 6 - 6
js/boot.js

@@ -102,9 +102,9 @@ inherits(SmalltalkClassOrganizer, SmalltalkOrganizer);
 
 
 /* Global Smalltalk objects. */
-var smalltalk, nil, _st;
+var global_smalltalk, global_nil, global__st;
 
-nil = new SmalltalkNil();
+global_nil = new SmalltalkNil();
 (function (nil) {
 
 function Smalltalk() {
@@ -809,7 +809,7 @@ SmalltalkMethodContext.prototype.lookupClass = null;
 
 inherits(SmalltalkMethodContext, SmalltalkObject);
 
-smalltalk = new Smalltalk();
+global_smalltalk = new Smalltalk();
 (function (smalltalk) {
 
 SmalltalkMethodContext.prototype.fill = function(receiver, selector, locals, lookupClass) {
@@ -848,7 +848,7 @@ SmalltalkMethodContext.prototype.method = function() {
  * Used in message sends
  */
 
-_st = function(o) {
+global__st = function(o) {
 	if(o == null) {return nil;}
 	if(o.klass) {return o;}
 	return smalltalk.JSObjectProxy._on_(o);
@@ -895,5 +895,5 @@ smalltalk.wrapClassName("MethodContext", "Kernel-Methods", SmalltalkMethodContex
 smalltalk.alias(smalltalk.Array, "OrderedCollection");
 smalltalk.alias(smalltalk.Date, "Time");
 
-})(smalltalk);
-})(nil);
+})(global_smalltalk);
+})(global_nil);

+ 3 - 3
js/init.js

@@ -1,4 +1,4 @@
-(function () {
+(function (smalltalk,nil,_st) {
     var inBrowser = typeof amber !== "undefined" && typeof amber.load === "function";
     function init() {
         smalltalk.initialize();
@@ -6,7 +6,7 @@
         /* Similar to jQuery(document).ready() */
 
         if (inBrowser && amber.smalltalkReady) {
-            amber.smalltalkReady();
+            amber.smalltalkReady(smalltalk,nil,_st);
         }
     }
 
@@ -23,4 +23,4 @@
         // immediately after init, so it must happens synchronously.
         init();
     }
-})();
+})(global_smalltalk,global_nil,global__st);

+ 2 - 0
js/parser.js

@@ -1,3 +1,4 @@
+(function(smalltalk,nil){
 smalltalk.parser = (function(){
   /*
    * Generated by PEG.js 0.7.0.
@@ -4181,3 +4182,4 @@ smalltalk.parser = (function(){
   
   return result;
 })();
+})(global_smalltalk,global_nil);