mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Remove caching of stream data and fix object loader for streams.
This commit is contained in:
parent
81fa4a0d93
commit
09aafa830b
3 changed files with 48 additions and 23 deletions
|
@ -46,6 +46,10 @@ var ChunkedStream = (function ChunkedStreamClosure() {
|
|||
return chunks;
|
||||
},
|
||||
|
||||
getBaseStreams: function ChunkedStream_getBaseStreams() {
|
||||
return [this];
|
||||
},
|
||||
|
||||
allChunksLoaded: function ChunkedStream_allChunksLoaded() {
|
||||
return this.numChunksLoaded === this.numChunks;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue