From c33e84730d212a1cbc853e536cb2bfb7e49ab005 Mon Sep 17 00:00:00 2001 From: Ryunosuke SATO Date: Fri, 3 Apr 2015 18:38:33 +0900 Subject: [PATCH] Update core-js to ^0.8.1 This version fixes the error for some environments that has no `setTimeout`/`setInterval`. --- package.json | 2 +- test/core/browserify.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 250c7e4208..4cbf19138d 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "ast-types": "~0.7.0", "chalk": "^1.0.0", "convert-source-map": "^0.5.0", - "core-js": "^0.8.0", + "core-js": "^0.8.1", "debug": "^2.1.1", "detect-indent": "^3.0.0", "estraverse": "^1.9.1", diff --git a/test/core/browserify.js b/test/core/browserify.js index 8c7a6bcfb6..a7e7b5727e 100644 --- a/test/core/browserify.js +++ b/test/core/browserify.js @@ -12,10 +12,7 @@ suite("browserify", function() { assert.ok(bundle.length, "bundle output code"); // ensure that the code runs without throwing an exception - vm.runInNewContext("var global = this;\n" + bundle, { - setInterval: function () {}, - setTimeout: function () {} - }); + vm.runInNewContext("var global = this;\n" + bundle, {}); done(); }) })