ソースを参照

Merge pull request #824 from herby/bootjs-exports-naming-vm-and-globals

Exports of `boot.js` are called `vm`, `nil` and `globals`.
Nicolas Petton 10 年 前
コミット
dfd9fa11ba
2 ファイル変更2 行追加2 行削除
  1. 1 1
      support/boot.js
  2. 1 1
      support/smalltalk.js

+ 1 - 1
support/boot.js

@@ -1129,5 +1129,5 @@ define("amber_vm/boot", [ 'require', './browser-compatibility' ], function (requ
 		brikz.rebuild();
 	};
 
-	return { smalltalk: api, nil: brikz.root.nil, globals: globals };
+	return { vm: api, nil: brikz.root.nil, globals: globals };
 });

+ 1 - 1
support/smalltalk.js

@@ -1,4 +1,4 @@
 define("amber_vm/smalltalk", ["./boot"], function (boot) {
-    return boot.smalltalk;
+    return boot.vm;
 });