1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

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) {
return this.slice(start, end);
return new TypedArray(this.slice(start, end));
}
function setArrayOffset(array, offset) {