We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d5bb6 commit c44e23eCopy full SHA for c44e23e
github.js
@@ -24,7 +24,7 @@
24
// Node. Does not work with strict CommonJS, but
25
// only CommonJS-like enviroments that support module.exports,
26
// like Node.
27
- module.exports = factory(require('xmlhttprequest').XMLHttpRequest, require('js-base64').Base64.encode);
+ module.exports = factory(XMLHttpRequest || require('xmlhttprequest').XMLHttpRequest, require('js-base64').Base64.encode);
28
} else {
29
// Browser globals
30
var b64encode = function(str) {
0 commit comments