Issue #2008 - Fix lint errors for src/api.js

This commit is contained in:
Jon Buckley 2013-01-31 18:30:18 -05:00
parent 19dbeaa23e
commit c67d9d40b8

View File

@ -1,5 +1,6 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /* 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 /* Copyright 2012 Mozilla Foundation
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
@ -282,7 +283,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
promise.reject(error); promise.reject(error);
else else
promise.resolve(); promise.resolve();
}; }
var continueCallback = params.continueCallback; var continueCallback = params.continueCallback;
// Once the operatorList and fonts are loaded, do the actual rendering. // Once the operatorList and fonts are loaded, do the actual rendering.
@ -383,7 +384,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
var continueWrapper; var continueWrapper;
if (continueCallback) if (continueCallback)
continueWrapper = function() { continueCallback(next); } continueWrapper = function() { continueCallback(next); };
else else
continueWrapper = next; continueWrapper = next;