Skip to content

Commit 19e4ee8

Browse files
author
Tim Blasi
committed
style(change_detect): Minor readability updates
1 parent f74d97e commit 19e4ee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/angular2/src/transform/template_compiler/change_detector_codegen.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ class _CodegenState {
231231

232232
List<String> _getNonNullPipeNames() {
233233
return _records
234-
.where((r) => r.mode == RecordType.PIPE)
234+
.where((r) => r.isPipeRecord())
235235
.map((r) => _pipeNames[r.selfIndex])
236236
.toList();
237237
}
@@ -276,7 +276,7 @@ class _CodegenState {
276276
'${_genGetDirective(rec.directiveIndex)}.onAllChangesDone();')
277277
.join('');
278278
return '''
279-
_dispatcher.notifyOnAllChangesDone();
279+
$_DISPATCHER_ACCESSOR.notifyOnAllChangesDone();
280280
${directiveNotifications}
281281
''';
282282
}

0 commit comments

Comments
 (0)