Merge pull request #1144 from tricknotes/fix-for-browserify

Update core-js to ^0.8.1
This commit is contained in:
Sebastian McKenzie 2015-04-03 22:23:48 +11:00
commit 306de2edbf
2 changed files with 2 additions and 5 deletions

View File

@ -30,7 +30,7 @@
"ast-types": "~0.7.0", "ast-types": "~0.7.0",
"chalk": "^1.0.0", "chalk": "^1.0.0",
"convert-source-map": "^0.5.0", "convert-source-map": "^0.5.0",
"core-js": "^0.8.0", "core-js": "^0.8.1",
"debug": "^2.1.1", "debug": "^2.1.1",
"detect-indent": "^3.0.0", "detect-indent": "^3.0.0",
"estraverse": "^1.9.1", "estraverse": "^1.9.1",

View File

@ -12,10 +12,7 @@ suite("browserify", function() {
assert.ok(bundle.length, "bundle output code"); assert.ok(bundle.length, "bundle output code");
// ensure that the code runs without throwing an exception // ensure that the code runs without throwing an exception
vm.runInNewContext("var global = this;\n" + bundle, { vm.runInNewContext("var global = this;\n" + bundle, {});
setInterval: function () {},
setTimeout: function () {}
});
done(); done();
}) })
}) })