mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Stop bundling the ReadableStream
polyfill in MOZCENTRAL builds (PR 10470 follow-up)
Based on the discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1521413, this patch simply removes the `ReadableStream` polyfill completely from MOZCENTRAL builds. With this patch, the size of the `gulp mozcentral` build target is thus further reduced (building on PR 10470): | | `build/mozcentral` |-------|------------------- |master | 3 339 666 |patch | 3 209 572
This commit is contained in:
parent
d614cabfa0
commit
249b199ff1
5 changed files with 5 additions and 47 deletions
|
@ -1,10 +1,3 @@
|
|||
<!-- This snippet is used in the Firefox extension (included from viewer.html) -->
|
||||
<base href="resource://pdf.js/web/">
|
||||
<script>
|
||||
(function() {
|
||||
if (typeof ReadableStream === "undefined") {
|
||||
document.write("<script src=\"../build/streams_polyfill.js\"><\/script>");
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<script src="../build/pdf.js"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue