Simulate support of the Int8Array for IE9
This commit is contained in:
parent
1416eca164
commit
cebf7836f4
@ -85,6 +85,7 @@ if (typeof PDFJS === 'undefined') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
window.Uint8Array = TypedArray;
|
window.Uint8Array = TypedArray;
|
||||||
|
window.Int8Array = TypedArray;
|
||||||
|
|
||||||
// we don't need support for set, byteLength for 32-bit array
|
// we don't need support for set, byteLength for 32-bit array
|
||||||
// so we can use the TypedArray as well
|
// so we can use the TypedArray as well
|
||||||
|
Loading…
Reference in New Issue
Block a user