fragment boundary is a gap if backwards(started) & previousToken

This commit is contained in:
Bruno Windels 2019-06-02 15:01:14 +02:00
parent e339cb7321
commit 1ed3babfec

View file

@ -47,9 +47,9 @@ export default class FragmentBoundaryEntry extends BaseEntry {
get token() {
if (this.started) {
return this.fragment.nextToken;
} else {
return this.fragment.previousToken;
} else {
return this.fragment.nextToken;
}
}