1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #11173 from Snuffleupagus/ReadableStream-polyfill

Replace the bundled `ReadableStream` polyfill with the `web-streams-polyfill` npm package (issue 11157)
This commit is contained in:
Tim van der Meij 2019-09-24 23:22:17 +02:00 committed by GitHub
commit f762d59ad2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 15 additions and 4014 deletions

View file

@ -50,6 +50,6 @@ if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('MOZCENTRAL')) {
exports.ReadableStream = DummyReadableStream;
} else {
exports.ReadableStream =
require('../../external/streams/streams-lib').ReadableStream;
require('web-streams-polyfill/dist/ponyfill').ReadableStream;
}
}