Browse Source

Fix _st, smalltalk and nil to use boot module correctly.

Herbert Vojčík 11 năm trước cách đây
mục cha
commit
bbed07287f
3 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 2 2
      js/lib/_st.js
  2. 2 2
      js/lib/nil.js
  3. 2 2
      js/lib/smalltalk.js

+ 2 - 2
js/lib/_st.js

@@ -1,3 +1,3 @@
-define(['amber/boot'], function () {
-    return _st;
+define(['amber/boot'], function (boot) {
+    return boot._st;
 });

+ 2 - 2
js/lib/nil.js

@@ -1,3 +1,3 @@
-define(['amber/boot'], function () {
-    return nil;
+define(['amber/boot'], function (boot) {
+    return boot.nil;
 });

+ 2 - 2
js/lib/smalltalk.js

@@ -1,3 +1,3 @@
-define(['amber/boot'], function () {
-    return smalltalk;
+define(['amber/boot'], function (boot) {
+    return boot.smalltalk;
 });