Merge pull request #5 from robertknight/browserify-fix
Fix atob under CommonJS module bundlers (eg. Browserify)
This commit is contained in:
commit
372a2dff10
@ -29,4 +29,8 @@
|
||||
}
|
||||
|
||||
w.atob = atob;
|
||||
|
||||
if (typeof module !== 'undefined') {
|
||||
module.exports = atob;
|
||||
}
|
||||
}(window));
|
||||
|
Loading…
x
Reference in New Issue
Block a user