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 committed Jul 16, 2020
1 parent 958f0d9 commit 3f1e63e
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 3f1e63e

Please sign in to comment.