Skip to content

Commit

Permalink
fix atob/btoa for IE/old Edge
Browse files Browse the repository at this point in the history
fix #2901
  • Loading branch information
HackbrettXXX committed Sep 8, 2020
1 parent cddca80 commit 29ca10f
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 29ca10f

Please sign in to comment.