Skip to content

Commit 880dedd

Browse files
Remove underscore from the OldCookies variable
There is no reason for that to exist there, it was originally introduced in the commit that fixed js-cookiegh-24
1 parent dbce759 commit 880dedd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js.cookie.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
} else if (typeof exports === 'object') {
1212
module.exports = factory();
1313
} else {
14-
var _OldCookies = window.Cookies;
14+
var OldCookies = window.Cookies;
1515
var api = window.Cookies = factory();
1616
api.noConflict = function () {
17-
window.Cookies = _OldCookies;
17+
window.Cookies = OldCookies;
1818
return api;
1919
};
2020
}

0 commit comments

Comments
 (0)