From 11e27170d5f2eaeae9581c82349b15754ad3594f Mon Sep 17 00:00:00 2001 From: Lon Ingram Date: Sun, 10 Aug 2014 23:35:41 -0500 Subject: [PATCH] upgrade browserify and work around substack/http-browserify#36 --- package.json | 4 +--- test/worker.js | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c33a84b508..db06aea35a 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,7 @@ "nodeunit": "~0.8.0", "optimist": "*", "urlmaster": ">=0.2.15", - "http-browserify": "git://github.com/kumavis/http-browserify.git#dc84f15eb15c58505c0dea29de7ee64ff56dfe4f", - "browserify": "~3.24.1", + "browserify": "^5.9.1", "q": "^1.0.1", "wd": "^0.2.21", "selenium-standalone": "^2.42.0-2.9.0", @@ -83,7 +82,6 @@ "canvas": false, "contextify": "./lib/jsdom/contextify-shim.js", "cssstyle": "./node_modules/cssstyle-browserify/lib/CSSStyleDeclaration.js", - "http": "./node_modules/http-browserify/index.js", "request": "./node_modules/browser-request/index.js" }, "scripts": { diff --git a/test/worker.js b/test/worker.js index a365315610..29c597fc8d 100644 --- a/test/worker.js +++ b/test/worker.js @@ -1,3 +1,5 @@ +global.window = global; + function postConsole(level) { var message = Array.prototype.slice.call(arguments, 1); postMessage({