Issue #2008 - Fix lint errors for src/colorspace.js
This commit is contained in:
parent
98c2f96260
commit
4918c6f848
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user