another fix for otto

This commit is contained in:
Marek Kotewicz 2015-03-23 18:03:31 +01:00
parent be04c470a2
commit 36fe79f169
5 changed files with 19 additions and 7 deletions

View File

@ -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

6
dist/ethereum.js vendored
View File

@ -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

View File

@ -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
}