mirror of https://github.com/status-im/web3.js.git
another fix for otto
This commit is contained in:
parent
be04c470a2
commit
36fe79f169
|
@ -541,7 +541,11 @@ module.exports = {
|
|||
'use strict';
|
||||
|
||||
// go env doesn't have and need XMLHttpRequest
|
||||
exports.XMLHttpRequest = typeof XMLHttpRequest === undefined ? {} : XMLHttpRequest; // jshint ignore:line
|
||||
if (typeof XMLHttpRequest === undefined) {
|
||||
exports.XMLHttpRequest = {};
|
||||
} else {
|
||||
exports.XMLHttpRequest = XMLHttpRequest; // jshint ignore:line
|
||||
}
|
||||
|
||||
|
||||
},{}],5:[function(require,module,exports){
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -541,7 +541,11 @@ module.exports = {
|
|||
'use strict';
|
||||
|
||||
// go env doesn't have and need XMLHttpRequest
|
||||
exports.XMLHttpRequest = typeof XMLHttpRequest === undefined ? {} : XMLHttpRequest; // jshint ignore:line
|
||||
if (typeof XMLHttpRequest === undefined) {
|
||||
exports.XMLHttpRequest = {};
|
||||
} else {
|
||||
exports.XMLHttpRequest = XMLHttpRequest; // jshint ignore:line
|
||||
}
|
||||
|
||||
|
||||
},{}],5:[function(require,module,exports){
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
// go env doesn't have and need XMLHttpRequest
|
||||
exports.XMLHttpRequest = typeof XMLHttpRequest === undefined ? {} : XMLHttpRequest; // jshint ignore:line
|
||||
if (typeof XMLHttpRequest === undefined) {
|
||||
exports.XMLHttpRequest = {};
|
||||
} else {
|
||||
exports.XMLHttpRequest = XMLHttpRequest; // jshint ignore:line
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue