Fix some 'super' must be called before accessing 'this' errors

This commit is contained in:
Alex Dima
2016-02-23 11:54:04 +01:00
parent ec3673e21c
commit b63a9c905b
8 changed files with 52 additions and 41 deletions

View File

@@ -290,10 +290,10 @@ export class Selection extends Range {
throw new Error('Invalid arguments');
}
super(anchor, active);
this._anchor = anchor;
this._active = active;
super(anchor, active);
}
get isReversed(): boolean {