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

This commit is contained in:
Jon Buckley 2013-01-31 18:31:02 -05:00
parent 98c2f96260
commit 4918c6f848

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 error, info, input, isArray, isDict, isName, isStream, isString, PDFFunction, warn */
/* 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");
@ -240,7 +241,7 @@ var ColorSpace = (function ColorSpaceClosure() {
return true; return true;
} }
for (var i = 0, ii = decode.length; i < ii; i += 2) { 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 false;
} }
return true; return true;
@ -1288,7 +1289,7 @@ var LabCS = (function LabCSClosure() {
this.bmin = -100; this.bmin = -100;
this.bmax = 100; this.bmax = 100;
} }
}; }
// Function g(x) from spec // Function g(x) from spec
function fn_g(x) { function fn_g(x) {