Merge pull request #7 from Supporting/patch-1
Fix for browsers supporting a2b
This commit is contained in:
commit
8a691b4548
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user