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;
|
w.atob = atob;
|
||||||
|
|
||||||
|
if (typeof module !== 'undefined') {
|
||||||
|
module.exports = atob;
|
||||||
|
}
|
||||||
}(window));
|
}(window));
|
||||||
|
|
Loading…
Reference in New Issue