mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +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.Int8Array = TypedArray;
|
||||
|
||||
// we don't need support for set, byteLength for 32-bit array
|
||||
// so we can use the TypedArray as well
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue