minor js cleanups

add missing semicolons pointed out by js2-mode, add missing emacs
modelines, fix a few tabs that crept in via cut+paste
This commit is contained in:
Dan Winship
2010-05-19 13:26:41 -04:00
parent 9b3e16595b
commit 8b242dd4bd
11 changed files with 32 additions and 29 deletions

View File

@ -588,7 +588,7 @@ Magnifier.prototype = {
let gConf = Shell.GConf.get_default();
this.setCrosshairsClip(gConf.get_boolean(CROSS_HAIRS_CLIP_KEY));
}
}
};
function ZoomRegion(magnifier, mouseRoot) {
this._init(magnifier, mouseRoot);
@ -1200,7 +1200,7 @@ ZoomRegion.prototype = {
this._crosshairsActor.set_position(x - groupWidth / 2, y - groupHeight / 2);
}
}
}
};
function Crosshairs() {
this._init();
@ -1476,4 +1476,4 @@ Crosshairs.prototype = {
this._vertTopHair.set_position((groupWidth - thickness) / 2, top);
this._vertBottomHair.set_position((groupWidth - thickness) / 2, bottom);
}
}
};