Skip to content

Commit 1b8374c

Browse files
authored
Merge pull request #31 from bmatcuk/master
(fixes #29) IE: Invalid calling object
2 parents 235b115 + 7a29196 commit 1b8374c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/atob.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ function polyfill (input) {
3535
}
3636

3737

38-
module.exports = typeof window !== 'undefined' && window.atob || polyfill;
38+
module.exports = typeof window !== 'undefined' && window.atob && window.atob.bind(window) || polyfill;

0 commit comments

Comments
 (0)