Skip to content

Commit 4665ea0

Browse files
author
Benjamin LONGEARET
committed
Remove hoisting from var btoa
1 parent 436bb72 commit 4665ea0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
// Initial Setup
1717
// -------------
1818

19-
var XMLHttpRequest, _, atob = window.atob;
19+
var XMLHttpRequest, _;
2020
/* istanbul ignore else */
2121
if (typeof exports !== 'undefined') {
2222
XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;
2323
_ = require('underscore');
2424
if (typeof btoa === 'undefined') {
25-
var btoa = require('btoa'); //jshint ignore:line
25+
btoa = require('btoa'); //jshint ignore:line
2626
}
2727

2828
} else {

0 commit comments

Comments
 (0)