Skip to content

Commit 7a29196

Browse files
committed
(fixes #29) IE: Invalid calling object
1 parent 235b115 commit 7a29196

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)