1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Add firstPage option to tasks to speed up testing certain pages

This commit is contained in:
Julian Viereck 2011-09-15 23:36:08 -07:00
parent 06cef910fb
commit 8f21f87fd9

View file

@ -74,7 +74,7 @@ function nextTask() {
failure = 'load PDF doc : ' + e.toString();
}
task.pageNum = 1, nextPage(task, failure);
task.pageNum = task.firstPage || 1, nextPage(task, failure);
}
};
r.send(null);