perf(Change Detection): Remove a useless test

Only "implicit receiver" records get their context updated (since #239)
This commit is contained in:
Victor Berchet 2014-12-03 08:00:37 +01:00
parent 7cb93fd59e
commit 2d2f44949d
1 changed files with 1 additions and 3 deletions

View File

@ -240,10 +240,8 @@ export class Record {
updateContext(value) {
this.context = value;
if (!this.isMarkerRecord) {
this.recordRange.enableRecord(this);
}
}
get isMarkerRecord() {
return this.type == RECORD_TYPE_MARKER;