1
0
ソースを参照

Comments in boot.js

Nicolas Petton 13 年 前
コミット
0b7f8b101b
1 ファイル変更8 行追加2 行削除
  1. 8 2
      js/boot.js

+ 8 - 2
js/boot.js

@@ -48,13 +48,19 @@ function SmalltalkNil(){};
 function Smalltalk(){
 
     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 */
+
     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) {
 	var that      = new SmalltalkPackage();