mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Adds streams-lib polyfill and exports ReadableStream from shared/util.
Added test for ReadableStream. Adds ref-implementation license-header in streams-lib and change gulp task to copy external/streams/ in build/ external/streams/ and build/dist/external/streams folder. Adds README.md and LICENSE.md
This commit is contained in:
parent
32bb0e8c0e
commit
c9f44f30e5
7 changed files with 4015 additions and 3 deletions
|
@ -15,6 +15,7 @@
|
|||
/* globals global, process, __pdfjsdev_webpack__ */
|
||||
|
||||
import './compatibility';
|
||||
import { ReadableStream } from '../../external/streams/streams-lib';
|
||||
|
||||
var globalScope = (typeof window !== 'undefined') ? window :
|
||||
(typeof global !== 'undefined') ? global :
|
||||
|
@ -1419,6 +1420,7 @@ export {
|
|||
readUint16,
|
||||
readUint32,
|
||||
removeNullCharacters,
|
||||
ReadableStream,
|
||||
setVerbosityLevel,
|
||||
shadow,
|
||||
string32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue