|
@@ -45,6 +45,18 @@ if(typeof console === "undefined") {
|
|
|
};
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+var global_smalltalk, global_nil, global__st;
|
|
|
+
|
|
|
+(function () {
|
|
|
+
|
|
|
|
|
|
|
|
|
Array.prototype.addElement = function(el) {
|
|
@@ -101,18 +113,7 @@ inherits(SmalltalkPackageOrganizer, SmalltalkOrganizer);
|
|
|
inherits(SmalltalkClassOrganizer, SmalltalkOrganizer);
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-var global_smalltalk, global_nil, global__st;
|
|
|
-
|
|
|
-global_nil = new SmalltalkNil();
|
|
|
-(function (nil) {
|
|
|
+var nil = global_nil = new SmalltalkNil();
|
|
|
|
|
|
function Smalltalk() {
|
|
|
|
|
@@ -816,8 +817,7 @@ SmalltalkMethodContext.prototype.lookupClass = null;
|
|
|
|
|
|
inherits(SmalltalkMethodContext, SmalltalkObject);
|
|
|
|
|
|
-global_smalltalk = new Smalltalk();
|
|
|
-(function (smalltalk) {
|
|
|
+var smalltalk = global_smalltalk = new Smalltalk();
|
|
|
|
|
|
SmalltalkMethodContext.prototype.fill = function(receiver, selector, locals, lookupClass) {
|
|
|
this.receiver = receiver;
|
|
@@ -902,5 +902,4 @@ smalltalk.wrapClassName("MethodContext", "Kernel-Methods", SmalltalkMethodContex
|
|
|
smalltalk.alias(smalltalk.Array, "OrderedCollection");
|
|
|
smalltalk.alias(smalltalk.Date, "Time");
|
|
|
|
|
|
-})(global_smalltalk);
|
|
|
-})(global_nil);
|
|
|
+})();
|