1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 11:04:12 +01:00

Add missing semicolons.

--HG--
extra : rebase_source : 9b307f142d55c3cd89ea6010ea15f1d26b11846f
This commit is contained in:
Doug Kearns
2010-11-05 09:09:09 +11:00
parent a3c423a609
commit 903268b0e1
18 changed files with 34 additions and 33 deletions

View File

@@ -632,7 +632,7 @@ const RangeFind = Class("RangeFind", {
.QueryInterface(Ci.nsISelectionController),
get selection() {
try {
return this.selectionController.getSelection(Ci.nsISelectionController.SELECTION_NORMAL)
return this.selectionController.getSelection(Ci.nsISelectionController.SELECTION_NORMAL);
}
catch (e) {
return null;
@@ -649,10 +649,11 @@ const RangeFind = Class("RangeFind", {
},
equal: function (r1, r2) {
try {
return !r1.compareBoundaryPoints(r1.START_TO_START, r2) && !r1.compareBoundaryPoints(r1.END_TO_END, r2)
return !r1.compareBoundaryPoints(r1.START_TO_START, r2) && !r1.compareBoundaryPoints(r1.END_TO_END, r2);
}
catch (e) {
return false;
}
catch (e) {}
return false;
},
nodeRange: function (node) {
let range = node.ownerDocument.createRange();