not all platforms implement TypedArray.slice
This commit is contained in:
parent
62c24ed227
commit
a1ff93f1fc
|
@ -279,7 +279,7 @@ export default {
|
|||
j = bin.length;
|
||||
|
||||
for (var i = 0; i < j; i += bs) {
|
||||
result.push(String.fromCharCode.apply(String, bin.slice(i, i+bs < j ? i+bs : j)));
|
||||
result.push(String.fromCharCode.apply(String, bin.subarray(i, i+bs < j ? i+bs : j)));
|
||||
}
|
||||
return result.join('');
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user