Thanks to visit codestin.com Credit goes to github.com
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.
2 parents f1c17ea + 5d0c9a4 commit 3ab2732Copy full SHA for 3ab2732
github.js
@@ -16,17 +16,17 @@
16
// Initial Setup
17
// -------------
18
19
- var XMLHttpRequest, _;
+ var XMLHttpRequest, _, btoa;
20
/* istanbul ignore else */
21
if (typeof exports !== 'undefined') {
22
XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;
23
_ = require('underscore');
24
if (typeof btoa === 'undefined') {
25
- var btoa = require('btoa'); //jshint ignore:line
+ btoa = require('btoa'); //jshint ignore:line
26
}
27
-
28
} else {
29
- _ = window._;
+ _ = window._;
+ btoa = window.btoa;
30
31
32
//prefer native XMLHttpRequest always
0 commit comments