Skip to content

Commit

Permalink
Merge pull request #2905 from HackbrettXXX/fix-atob-btoa
Browse files Browse the repository at this point in the history
fix atob/btoa for IE/old Edge
  • Loading branch information
HackbrettXXX committed Sep 9, 2020
2 parents cddca80 + 29ca10f commit bc6c640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/AtobBtoa.js
Expand Up @@ -4,8 +4,8 @@ var atob, btoa;

(function() {
// @if MODULE_FORMAT!='cjs'
atob = globalObject.atob;
btoa = globalObject.btoa;
atob = globalObject.atob.bind(globalObject);
btoa = globalObject.btoa.bind(globalObject);
return;
// @endif

Expand Down

0 comments on commit bc6c640

Please sign in to comment.