From 9e6bf9de37d10aad8b9a30b10ee25234188643ed Mon Sep 17 00:00:00 2001 From: Fabian Vogelsteller Date: Mon, 22 Jun 2015 14:04:28 +0200 Subject: [PATCH] removed browser XHR --- lib/utils/browser-xhr.js | 9 --------- package.json | 1 - 2 files changed, 10 deletions(-) delete mode 100644 lib/utils/browser-xhr.js diff --git a/lib/utils/browser-xhr.js b/lib/utils/browser-xhr.js deleted file mode 100644 index 5d45d72..0000000 --- a/lib/utils/browser-xhr.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -// go env doesn't have and need XMLHttpRequest -if (typeof XMLHttpRequest === 'undefined') { - exports.XMLHttpRequest = {}; -} else { - exports.XMLHttpRequest = XMLHttpRequest; // jshint ignore:line -} - diff --git a/package.json b/package.json index f051c61..eca11f2 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "xmlhttprequest": "*" }, "browser": { - "xmlhttprequest": "./lib/utils/browser-xhr.js" }, "devDependencies": { "bower": ">=1.3.0",