瀏覽代碼

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

Exports of `boot.js` are called `vm`, `nil` and `globals`.
Nicolas Petton 11 年之前
父節點
當前提交
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;
 });