mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Simulate support of the Int8Array for IE9
This commit is contained in:
parent
1416eca164
commit
cebf7836f4
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue