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 aca30d8 commit c2696ecCopy full SHA for c2696ec
github.js
@@ -21,7 +21,10 @@
21
if (typeof exports !== 'undefined') {
22
XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;
23
_ = require('underscore');
24
- btoa = require('btoa'); //jshint ignore:line
+ if (typeof btoa === 'undefined') {
25
+ var btoa = require('btoa'); //jshint ignore:line
26
+ }
27
+
28
} else {
29
_ = window._;
30
}
0 commit comments