mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Use streams-lib as polyfill
This commit is contained in:
parent
343b4dc2b6
commit
01b47d9012
3 changed files with 26 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
import './compatibility';
|
||||
import { ReadableStream } from '../../external/streams/streams-lib';
|
||||
import { ReadableStream } from './streams_polyfill';
|
||||
|
||||
var globalScope =
|
||||
(typeof window !== 'undefined' && window.Math === Math) ? window :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue