call, not apply... duh

This commit is contained in:
AJ ONeal 2015-10-23 02:15:23 -07:00
parent e39c6956f2
commit ec529d807a
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ exports.base32ToBuffer = function(encoded) {
return decoded.slice(0, plainPos);
} else {
// Mobile Safari's Uint8Array doesn't have slice
return Array.prototype.slice.apply(decoded, 0, plainPos);
return Array.prototype.slice.call(decoded, 0, plainPos);
}
};