1
0
Fork 0
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:
Brendan Dahl 2013-07-03 14:29:38 -07:00
parent 81fa4a0d93
commit 09aafa830b
3 changed files with 48 additions and 23 deletions

View file

@ -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;
},