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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user