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",