mirror of https://github.com/status-im/web3.js.git
removed browser XHR
This commit is contained in:
parent
f0247aa551
commit
9e6bf9de37
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
"xmlhttprequest": "*"
|
"xmlhttprequest": "*"
|
||||||
},
|
},
|
||||||
"browser": {
|
"browser": {
|
||||||
"xmlhttprequest": "./lib/utils/browser-xhr.js"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bower": ">=1.3.0",
|
"bower": ">=1.3.0",
|
||||||
|
|
Loading…
Reference in New Issue