Procházet zdrojové kódy

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

Herbert Vojčík před 11 roky
rodič
revize
bbed07287f
3 změnil soubory, kde provedl 6 přidání a 6 odebrání
  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;
 });