Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #150 from agentschmitt/master
Browse files Browse the repository at this point in the history
fix invalid calling object 'btoa' in Edge (Chromium) #148
postatum authored Jul 17, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 958f0d9 + 3f1e63e commit 159c75a
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
@@ -8,7 +8,7 @@ var btoa
if (typeof Buffer === 'function') {
btoa = btoaBuffer
} else {
btoa = window.btoa
btoa = window.btoa.bind(window)
}

/**

0 comments on commit 159c75a

Please sign in to comment.