call, not apply... duh
This commit is contained in:
parent
e39c6956f2
commit
ec529d807a
|
@ -135,7 +135,7 @@ exports.base32ToBuffer = function(encoded) {
|
||||||
return decoded.slice(0, plainPos);
|
return decoded.slice(0, plainPos);
|
||||||
} else {
|
} else {
|
||||||
// Mobile Safari's Uint8Array doesn't have slice
|
// Mobile Safari's Uint8Array doesn't have slice
|
||||||
return Array.prototype.slice.apply(decoded, 0, plainPos);
|
return Array.prototype.slice.call(decoded, 0, plainPos);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue