Fix subarray error for IE9

This commit is contained in:
Jeff Wagner 2012-01-04 15:10:25 -08:00
parent dba1a7dc6f
commit 567dd330e1

View File

@ -14,7 +14,7 @@
} }
function subarray(start, end) { function subarray(start, end) {
return this.slice(start, end); return new TypedArray(this.slice(start, end));
} }
function setArrayOffset(array, offset) { function setArrayOffset(array, offset) {