mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Oh, 80-char limit... super modern
This commit is contained in:
parent
99f419fa6b
commit
2f209a8e85
1 changed files with 2 additions and 1 deletions
|
@ -205,7 +205,8 @@ function done() {
|
|||
function sendTaskResult(snapshot, task, failure) {
|
||||
var result = { browser: browser,
|
||||
id: task.id,
|
||||
numPages: task.pdfDoc ? (task.pageLimit || task.pdfDoc.numPages) : 0,
|
||||
numPages: task.pdfDoc ?
|
||||
(task.pageLimit || task.pdfDoc.numPages) : 0,
|
||||
failure: failure,
|
||||
file: task.file,
|
||||
round: task.round,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue