mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Issue #2008 - Fix lint errors for src/api.js
This commit is contained in:
parent
19dbeaa23e
commit
c67d9d40b8
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
|
||||
/* globals CanvasGraphics, combineUrl, createScratchCanvas, error, ErrorFont, Font, FontLoader, globalScope, info, isArrayBuffer, loadJpegStream, MessageHandler, PDFJS, PDFObjects, Promise, StatTimer, warn, WorkerMessageHandler */
|
||||
/* Copyright 2012 Mozilla Foundation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
@ -282,7 +283,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
|
|||
promise.reject(error);
|
||||
else
|
||||
promise.resolve();
|
||||
};
|
||||
}
|
||||
var continueCallback = params.continueCallback;
|
||||
|
||||
// Once the operatorList and fonts are loaded, do the actual rendering.
|
||||
|
@ -383,7 +384,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
|
|||
|
||||
var continueWrapper;
|
||||
if (continueCallback)
|
||||
continueWrapper = function() { continueCallback(next); }
|
||||
continueWrapper = function() { continueCallback(next); };
|
||||
else
|
||||
continueWrapper = next;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue