mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 22:45:44 +01:00
Whitespace fixes.
--HG-- extra : rebase_source : 7bc98c4cf1a8ca89cfbfb1f96ffe9fa72565c663
This commit is contained in:
@@ -592,7 +592,7 @@ const RangeFind = Class("RangeFind", {
|
||||
this.index = index;
|
||||
|
||||
this.range = range;
|
||||
this.document = range.startContainer.ownerDocument;
|
||||
this.document = range.startContainer.ownerDocument;
|
||||
this.window = this.document.defaultView;
|
||||
this.docShell = this.window.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIWebNavigation)
|
||||
@@ -641,9 +641,9 @@ const RangeFind = Class("RangeFind", {
|
||||
}
|
||||
}
|
||||
}),
|
||||
contains: function (range, r)
|
||||
range.compareBoundaryPoints(range.START_TO_END, r) >= 0 &&
|
||||
range.compareBoundaryPoints(range.END_TO_START, r) <= 0,
|
||||
contains: function (range, r)
|
||||
range.compareBoundaryPoints(range.START_TO_END, r) >= 0 &&
|
||||
range.compareBoundaryPoints(range.END_TO_START, r) <= 0,
|
||||
endpoint: function (range, before) {
|
||||
range = range.cloneRange();
|
||||
range.collapse(before);
|
||||
|
||||
Reference in New Issue
Block a user