Enforces maxlen for jshint

This commit is contained in:
Yury Delendik 2013-02-02 16:49:19 -06:00
parent 50de5f8b24
commit 5cf0d8fa80
18 changed files with 77 additions and 25 deletions

View file

@ -1,6 +1,5 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/* globals Cmd, DeviceCmykCS, Dict, globalScope, INFOS, MozBlobBuilder, Name, PDFJS, Ref, WARNINGS, verbosity */
/* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
@ -15,6 +14,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* globals Cmd, DeviceCmykCS, Dict, globalScope, INFOS, MozBlobBuilder, Name,
PDFJS, Ref, WARNINGS, verbosity */
'use strict';
@ -469,11 +470,13 @@ function isArray(v) {
}
function isStream(v) {
return typeof v == 'object' && v !== null && v !== undefined && ('getChar' in v);
return typeof v == 'object' && v !== null && v !== undefined &&
('getChar' in v);
}
function isArrayBuffer(v) {
return typeof v == 'object' && v !== null && v !== undefined && ('byteLength' in v);
return typeof v == 'object' && v !== null && v !== undefined &&
('byteLength' in v);
}
function isRef(v) {