mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 09:38:06 +02:00
Enable the spaced-comment
ESLint rule
Please see http://eslint.org/docs/rules/spaced-comment. Note that the exceptions added for `line` comments are intended to still allow use of the old preprocessor without linting errors. Also, I took the opportunity to improve the grammar slightly (w.r.t. capitalization and punctuation) for comments touched in the patch.
This commit is contained in:
parent
a917443ae6
commit
4626fc8342
14 changed files with 53 additions and 47 deletions
|
@ -104,7 +104,7 @@ var PDFFunction = (function PDFFunctionClosure() {
|
|||
return this.constructInterpolatedFromIR(IR);
|
||||
case CONSTRUCT_STICHED:
|
||||
return this.constructStichedFromIR(IR);
|
||||
//case CONSTRUCT_POSTSCRIPT:
|
||||
// case CONSTRUCT_POSTSCRIPT:
|
||||
default:
|
||||
return this.constructPostScriptFromIR(IR);
|
||||
}
|
||||
|
@ -207,7 +207,7 @@ var PDFFunction = (function PDFFunctionClosure() {
|
|||
var samples = IR[5];
|
||||
var size = IR[6];
|
||||
var n = IR[7];
|
||||
//var mask = IR[8];
|
||||
// var mask = IR[8];
|
||||
var range = IR[9];
|
||||
|
||||
// Building the cube vertices: its part and sample index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue