From 4918c6f848b72643a62daa03df7ed869010a4f0c Mon Sep 17 00:00:00 2001 From: Jon Buckley Date: Thu, 31 Jan 2013 18:31:02 -0500 Subject: [PATCH] Issue #2008 - Fix lint errors for src/colorspace.js --- src/colorspace.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/colorspace.js b/src/colorspace.js index f30c50578..116f55e76 100644 --- a/src/colorspace.js +++ b/src/colorspace.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 error, info, input, isArray, isDict, isName, isStream, isString, PDFFunction, warn */ /* Copyright 2012 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -240,7 +241,7 @@ var ColorSpace = (function ColorSpaceClosure() { return true; } for (var i = 0, ii = decode.length; i < ii; i += 2) { - if (decode[i] != 0 || decode[i + 1] != 1) + if (decode[i] !== 0 || decode[i + 1] != 1) return false; } return true; @@ -1288,7 +1289,7 @@ var LabCS = (function LabCSClosure() { this.bmin = -100; this.bmax = 100; } - }; + } // Function g(x) from spec function fn_g(x) {