mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Fix ensureByte() function name (copy-and-paste error)
This commit is contained in:
parent
41a5bce6de
commit
a7bbc12a81
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ var ChunkedStream = (function ChunkedStreamClosure() {
|
|||
}
|
||||
},
|
||||
|
||||
ensureByte: function ChunkedStream_ensureRange(pos) {
|
||||
ensureByte: function ChunkedStream_ensureByte(pos) {
|
||||
var chunk = Math.floor(pos / this.chunkSize);
|
||||
if (chunk === this.lastSuccessfulEnsureByteChunk) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue