|
@@ -94,8 +94,8 @@ inherits(SmalltalkOrganizer, SmalltalkObject);
|
|
inherits(SmalltalkPackageOrganizer, SmalltalkOrganizer);
|
|
inherits(SmalltalkPackageOrganizer, SmalltalkOrganizer);
|
|
inherits(SmalltalkClassOrganizer, SmalltalkOrganizer);
|
|
inherits(SmalltalkClassOrganizer, SmalltalkOrganizer);
|
|
|
|
|
|
-global_nil = new SmalltalkNil();
|
|
|
|
-(function (nil) {
|
|
|
|
|
|
+
|
|
|
|
+var nil = global_nil = new SmalltalkNil();
|
|
|
|
|
|
function Smalltalk() {
|
|
function Smalltalk() {
|
|
|
|
|
|
@@ -782,7 +782,7 @@ function Smalltalk() {
|
|
inherits(Smalltalk, SmalltalkObject);
|
|
inherits(Smalltalk, SmalltalkObject);
|
|
|
|
|
|
if(this.jQuery) {
|
|
if(this.jQuery) {
|
|
- this.jQuery.allowJavaScriptCalls = true;
|
|
|
|
|
|
+ this.jQuery.allowJavaScriptCalls = true;
|
|
}
|
|
}
|
|
|
|
|
|
function SmalltalkMethodContext(home, setup) {
|
|
function SmalltalkMethodContext(home, setup) {
|
|
@@ -799,8 +799,7 @@ SmalltalkMethodContext.prototype.lookupClass = null;
|
|
|
|
|
|
inherits(SmalltalkMethodContext, SmalltalkObject);
|
|
inherits(SmalltalkMethodContext, SmalltalkObject);
|
|
|
|
|
|
-global_smalltalk = new Smalltalk();
|
|
|
|
-(function (smalltalk) {
|
|
|
|
|
|
+var smalltalk = global_smalltalk = new Smalltalk();
|
|
|
|
|
|
SmalltalkMethodContext.prototype.fill = function(receiver, selector, locals, lookupClass) {
|
|
SmalltalkMethodContext.prototype.fill = function(receiver, selector, locals, lookupClass) {
|
|
this.receiver = receiver;
|
|
this.receiver = receiver;
|
|
@@ -885,8 +884,5 @@ smalltalk.wrapClassName("MethodContext", "Kernel-Methods", SmalltalkMethodContex
|
|
smalltalk.alias(smalltalk.Array, "OrderedCollection");
|
|
smalltalk.alias(smalltalk.Array, "OrderedCollection");
|
|
smalltalk.alias(smalltalk.Date, "Time");
|
|
smalltalk.alias(smalltalk.Date, "Time");
|
|
|
|
|
|
-})(global_smalltalk);
|
|
|
|
-})(global_nil);
|
|
|
|
-
|
|
|
|
return { smalltalk: global_smalltalk, nil: global_nil, _st: global__st };
|
|
return { smalltalk: global_smalltalk, nil: global_nil, _st: global__st };
|
|
});
|
|
});
|