Bug 1411368 - Automatically fix space-unary-ops issues raised when using ESLint 4. r=mossop

MozReview-Commit-ID: 5VJZgNjOuX9

--HG--
extra : rebase_source : 0c0b5ae58ef677ba49333e71333fb1bcd896e895
This commit is contained in:
Mark Banner 2017-10-26 13:14:13 +01:00
parent 00b488c118
commit e5c84c43e2
3 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ add_task(function* () {
show: function (nodeFront) {
this.nodeFront = nodeFront;
this.isShown = true;
this.nbOfTimesShown ++;
this.nbOfTimesShown++;
return promise.resolve(true);
},
hide: function () {

View File

@ -381,7 +381,7 @@ var observedWindows = new Map();
function getLayoutChangesObserver(tabActor) {
let observerData = observedWindows.get(tabActor);
if (observerData) {
observerData.refCounting ++;
observerData.refCounting++;
return observerData.observer;
}
@ -409,7 +409,7 @@ function releaseLayoutChangesObserver(tabActor) {
return;
}
observerData.refCounting --;
observerData.refCounting--;
if (!observerData.refCounting) {
observerData.observer.destroy();
observedWindows.delete(tabActor);

View File

@ -627,7 +627,7 @@ BookmarkImporter.prototype = {
_handleContainerEnd: function handleContainerEnd() {
let frame = this._curFrame;
if (frame.containerNesting > 0)
frame.containerNesting --;
frame.containerNesting--;
if (this._frames.length > 1 && frame.containerNesting == 0) {
this._frames.pop();
}