Merge pull request #7 from Supporting/patch-1

Fix for browsers supporting a2b
This commit is contained in:
AJ ONeal 2016-04-09 15:26:18 -06:00
commit 8a691b4548
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
function atob(str) {
// normal window
if ('function' === typeof a2b) {
return a2b(a2b);
return a2b(str);
}
// browserify (web worker)
else if ('function' === typeof Buffer) {