Skip to content

Commit

Permalink
fix invalid calling object 'btoa' in Edge (Chromium) mulesoft-labs#148
Browse files Browse the repository at this point in the history
  • Loading branch information
agentschmitt authored and clancy-au committed Apr 21, 2021
1 parent ed0ce69 commit 8295894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client-oauth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var btoa
if (typeof Buffer === 'function') {
btoa = btoaBuffer
} else {
btoa = window.btoa
btoa = window.btoa.bind(window)
}

/**
Expand Down

0 comments on commit 8295894

Please sign in to comment.