|
@@ -48,13 +48,19 @@ function SmalltalkNil(){};
|
|
function Smalltalk(){
|
|
function Smalltalk(){
|
|
|
|
|
|
var st = this;
|
|
var st = this;
|
|
- this.thisContext = undefined;
|
|
|
|
|
|
+
|
|
|
|
+ /* This is the current call context object. While it is publicly available,
|
|
|
|
+ Use smalltalk.getThisContext() instead which will answer a safe copy of
|
|
|
|
+ the current context */
|
|
|
|
+
|
|
|
|
+ st.thisContext = undefined;
|
|
|
|
|
|
|
|
|
|
/* We hold all Packages in a separate Object */
|
|
/* We hold all Packages in a separate Object */
|
|
|
|
+
|
|
st.packages = {};
|
|
st.packages = {};
|
|
|
|
|
|
- /* Smalltalk Package object. To add a Package, use smalltalk.addPackage() */
|
|
|
|
|
|
+ /* Smalltalk package creation. To add a Package, use smalltalk.addPackage() */
|
|
|
|
|
|
function pkg(spec) {
|
|
function pkg(spec) {
|
|
var that = new SmalltalkPackage();
|
|
var that = new SmalltalkPackage();
|