mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
00b488c118
commit
e5c84c43e2
@ -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 () {
|
||||
|
@ -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);
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user