From d59e2105b11be4cedd810ff9f29304a2dff3880e Mon Sep 17 00:00:00 2001 From: Jon Buckley Date: Thu, 31 Jan 2013 18:31:11 -0500 Subject: [PATCH] Issue #2008 - Fix lint errors for src/core.js --- src/core.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core.js b/src/core.js index 822175f5d..e87c10380 100644 --- a/src/core.js +++ b/src/core.js @@ -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 assertWellFormed, calculateMD5, Catalog, error, info, isArray, isArrayBuffer, isDict, isName, isStream, isString, Lexer, Linearization, NullStream, PartialEvaluator, shadow, Stream, StreamsSequenceStream, stringToPDFString, TODO, Util, warn, XRef */ /* Copyright 2012 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -76,7 +77,7 @@ function getPdf(arg, callback) { calledErrorBack = true; params.error(); } - } + }; } xhr.onreadystatechange = function getPdfOnreadystatechange(e) { @@ -156,7 +157,7 @@ var Page = (function PageClosure() { get rotate() { var rotate = this.inheritPageProp('Rotate') || 0; // Normalize rotation so it's a multiple of 90 and between 0 and 270 - if (rotate % 90 != 0) { + if (rotate % 90 !== 0) { rotate = 0; } else if (rotate >= 360) { rotate = rotate % 360;