mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
cleanup
This commit is contained in:
parent
4b132a7b3e
commit
7a7ff9e8c5
1 changed files with 1 additions and 2 deletions
3
pdf.js
3
pdf.js
|
@ -230,9 +230,8 @@ var DecodeStream = (function() {
|
|||
},
|
||||
makeSubStream: function decodestream_makeSubstream(start, length, dict) {
|
||||
var end = start + length;
|
||||
while (this.bufferLength <= end && !this.eof) {
|
||||
while (this.bufferLength <= end && !this.eof)
|
||||
this.readBlock();
|
||||
}
|
||||
return new Stream(this.buffer, start, length, dict);
|
||||
},
|
||||
skip: function decodestream_skip(n) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue