Fixing range optimization

This commit is contained in:
Alex Yatskov 2016-07-21 09:13:38 -07:00
parent e4ecf11fc7
commit 9589a68def

View File

@ -64,7 +64,7 @@ class Range {
}
compareOrigin(range) {
return range.rng.compareBoundaryPoints(Range.END_TO_END, this.rng);
return range.rng.compareBoundaryPoints(Range.START_TO_START, this.rng);
}
static seekEnd(node, length) {