Merge pull request #7960 from Snuffleupagus/eslint_space-unary-ops
Adjust the `space-unary-ops` ESLint rule to comply with mozilla-central lint rules
This commit is contained in:
commit
c1703e977d
@ -104,6 +104,6 @@
|
||||
"space-before-function-paren": ["error", { "anonymous": "ignore", "named": "never", }],
|
||||
"space-in-parens": ["error", "never"],
|
||||
"space-infix-ops": ["error", { "int32Hint": false }],
|
||||
"space-unary-ops": ["error", { "words": true, "nonwords": false, "overrides": { "void": false, }, }],
|
||||
"space-unary-ops": ["error", { "words": true, "nonwords": false, }],
|
||||
},
|
||||
}
|
||||
|
@ -171,7 +171,7 @@ PdfDataListener.prototype = {
|
||||
if (this.length >= 0 && this.length < this.loaded) {
|
||||
this.length = -1; // reset the length, server is giving incorrect one
|
||||
}
|
||||
this.onprogress(this.loaded, this.length >= 0 ? this.length : void(0));
|
||||
this.onprogress(this.loaded, this.length >= 0 ? this.length : void 0);
|
||||
},
|
||||
readData: function PdfDataListener_readData() {
|
||||
var result = this.buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user