mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 03:28:07 +00:00
another fix for otto
This commit is contained in:
parent
be04c470a2
commit
36fe79f169
6
dist/ethereum-light.js
vendored
6
dist/ethereum-light.js
vendored
@ -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){
|
||||
|
4
dist/ethereum-light.js.map
vendored
4
dist/ethereum-light.js.map
vendored
File diff suppressed because one or more lines are too long
6
dist/ethereum.js
vendored
6
dist/ethereum.js
vendored
@ -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){
|
||||
|
4
dist/ethereum.js.map
vendored
4
dist/ethereum.js.map
vendored
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…
x
Reference in New Issue
Block a user