1
0
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:
Doug Kearns
2010-11-05 00:52:40 +11:00
parent 4f5fd70ab2
commit 26e130bd0b
10 changed files with 18 additions and 19 deletions

View File

@@ -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);