Skip to content

Commit ee36063

Browse files
committed
style: misc minor changes
1 parent c362f33 commit ee36063

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

modules/change_detection/src/record.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ export class Record {
239239
}
240240

241241
_updateDestination() {
242-
// todo(vicb): compute this info only once in ctor ? (add a bit in mode not to grow the mem req)
243242
if (this.dest instanceof Record) {
244243
if (isPresent(this.protoRecord.dest.position)) {
245244
this.dest.updateArg(this.currentValue, this.protoRecord.dest.position);

modules/change_detection/test/change_detector_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ export function main() {
417417
var prr = new ProtoRecordRange();
418418
prr.addRecordsFromAST(ast("a()"), "a", 1);
419419
prr.addRecordsFromAST(ast("b()"), "b", 2);
420-
prr.addRecordsFromAST(ast("c()"), "b", 2);
420+
prr.addRecordsFromAST(ast("c()"), "c", 2);
421421

422422
var dispatcher = new TestDispatcher();
423423
var rr = prr.instantiate(dispatcher, null);

modules/core/src/compiler/view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export class View {
202202
}
203203
}
204204

205-
_collectChanges(records:List) {
205+
_collectChanges(records:List<Record>) {
206206
var changes = StringMapWrapper.create();
207207
for(var i = 0; i < records.length; ++i) {
208208
var record = records[i];

0 commit comments

Comments
 (0)