From 19e4ee81b94ae04de53c4f33fc6a3819127d0030 Mon Sep 17 00:00:00 2001 From: Tim Blasi Date: Fri, 17 Jul 2015 14:08:07 -0700 Subject: [PATCH] style(change_detect): Minor readability updates --- .../transform/template_compiler/change_detector_codegen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/angular2/src/transform/template_compiler/change_detector_codegen.dart b/modules/angular2/src/transform/template_compiler/change_detector_codegen.dart index 17184336cd..ddfab4b1b2 100644 --- a/modules/angular2/src/transform/template_compiler/change_detector_codegen.dart +++ b/modules/angular2/src/transform/template_compiler/change_detector_codegen.dart @@ -231,7 +231,7 @@ class _CodegenState { List _getNonNullPipeNames() { return _records - .where((r) => r.mode == RecordType.PIPE) + .where((r) => r.isPipeRecord()) .map((r) => _pipeNames[r.selfIndex]) .toList(); } @@ -276,7 +276,7 @@ class _CodegenState { '${_genGetDirective(rec.directiveIndex)}.onAllChangesDone();') .join(''); return ''' - _dispatcher.notifyOnAllChangesDone(); + $_DISPATCHER_ACCESSOR.notifyOnAllChangesDone(); ${directiveNotifications} '''; }