@@ -354,7 +354,7 @@ class _CodegenState {
354354 var pipeType = r.name;
355355
356356 var init = '''
357- if (${ _genPrefix }$ _IDENTICAL_CHECK_FN ($ pipe , ${_genPrefix }$_UTIL .uninitialized) ) {
357+ if ($pipe == ${_genPrefix }$_UTIL .uninitialized) {
358358 $pipe = ${_names .getPipesAccessorName ()}.get('$pipeType ');
359359 }
360360 ''' ;
@@ -368,7 +368,7 @@ class _CodegenState {
368368 var condition = '''!${pipe }.pure || (${contexOrArgCheck .join (" || " )})''' ;
369369
370370 var check = '''
371- if (${_genPrefix }$_NOT_IDENTICAL_CHECK_FN ($oldValue , $newValue )) {
371+ if (${_genPrefix }$_UTIL .looseNotIdentical ($oldValue , $newValue )) {
372372 $newValue = ${_genPrefix }$_UTIL .unwrapValue($newValue );
373373 ${_genChangeMarker (r )}
374374 ${_genUpdateDirectiveOrElement (r )}
@@ -394,7 +394,7 @@ class _CodegenState {
394394 ''' ;
395395
396396 var check = '''
397- if (${_genPrefix }$_NOT_IDENTICAL_CHECK_FN ($newValue , $oldValue )) {
397+ if (${_genPrefix }$_UTIL .looseNotIdentical ($newValue , $oldValue )) {
398398 ${_genChangeMarker (r )}
399399 ${_genUpdateDirectiveOrElement (r )}
400400 ${_genAddToChanges (r )}
@@ -532,8 +532,6 @@ const _CHANGES_LOCAL = 'changes';
532532const _GEN_PREFIX = '_gen' ;
533533const _GEN_PREFIX_WITH_DOT = _GEN_PREFIX + '.' ;
534534const _GEN_RECORDS_METHOD_NAME = '_createRecords' ;
535- const _IDENTICAL_CHECK_FN = 'looseIdentical' ;
536- const _NOT_IDENTICAL_CHECK_FN = 'looseNotIdentical' ;
537535const _IS_CHANGED_LOCAL = 'isChanged' ;
538536const _PREGEN_PROTO_CHANGE_DETECTOR_IMPORT =
539537 'package:angular2/src/core/change_detection/pregen_proto_change_detector.dart' ;
0 commit comments