@@ -15,7 +15,7 @@ import {
1515 PUBLIC_AND_PRIVATE ,
1616 PUBLIC ,
1717 PRIVATE ,
18- undefinedValue ,
18+ UNDEFINED ,
1919 Key ,
2020 Dependency ,
2121 bind ,
@@ -645,7 +645,7 @@ export class ElementInjector extends TreeNode<ElementInjector> implements Depend
645645 }
646646 }
647647
648- return undefinedValue ;
648+ return UNDEFINED ;
649649 }
650650
651651 private _buildAttribute ( dep : DirectiveDependency ) : string {
@@ -892,41 +892,41 @@ class ElementInjectorInlineStrategy implements _ElementInjectorStrategy {
892892 var p = i . protoStrategy ;
893893 i . resetConstructionCounter ( ) ;
894894
895- if ( p . binding0 instanceof DirectiveBinding && isPresent ( p . keyId0 ) && i . obj0 === undefinedValue )
895+ if ( p . binding0 instanceof DirectiveBinding && isPresent ( p . keyId0 ) && i . obj0 === UNDEFINED )
896896 i . obj0 = i . instantiateBinding ( p . binding0 , p . visibility0 ) ;
897- if ( p . binding1 instanceof DirectiveBinding && isPresent ( p . keyId1 ) && i . obj1 === undefinedValue )
897+ if ( p . binding1 instanceof DirectiveBinding && isPresent ( p . keyId1 ) && i . obj1 === UNDEFINED )
898898 i . obj1 = i . instantiateBinding ( p . binding1 , p . visibility1 ) ;
899- if ( p . binding2 instanceof DirectiveBinding && isPresent ( p . keyId2 ) && i . obj2 === undefinedValue )
899+ if ( p . binding2 instanceof DirectiveBinding && isPresent ( p . keyId2 ) && i . obj2 === UNDEFINED )
900900 i . obj2 = i . instantiateBinding ( p . binding2 , p . visibility2 ) ;
901- if ( p . binding3 instanceof DirectiveBinding && isPresent ( p . keyId3 ) && i . obj3 === undefinedValue )
901+ if ( p . binding3 instanceof DirectiveBinding && isPresent ( p . keyId3 ) && i . obj3 === UNDEFINED )
902902 i . obj3 = i . instantiateBinding ( p . binding3 , p . visibility3 ) ;
903- if ( p . binding4 instanceof DirectiveBinding && isPresent ( p . keyId4 ) && i . obj4 === undefinedValue )
903+ if ( p . binding4 instanceof DirectiveBinding && isPresent ( p . keyId4 ) && i . obj4 === UNDEFINED )
904904 i . obj4 = i . instantiateBinding ( p . binding4 , p . visibility4 ) ;
905- if ( p . binding5 instanceof DirectiveBinding && isPresent ( p . keyId5 ) && i . obj5 === undefinedValue )
905+ if ( p . binding5 instanceof DirectiveBinding && isPresent ( p . keyId5 ) && i . obj5 === UNDEFINED )
906906 i . obj5 = i . instantiateBinding ( p . binding5 , p . visibility5 ) ;
907- if ( p . binding6 instanceof DirectiveBinding && isPresent ( p . keyId6 ) && i . obj6 === undefinedValue )
907+ if ( p . binding6 instanceof DirectiveBinding && isPresent ( p . keyId6 ) && i . obj6 === UNDEFINED )
908908 i . obj6 = i . instantiateBinding ( p . binding6 , p . visibility6 ) ;
909- if ( p . binding7 instanceof DirectiveBinding && isPresent ( p . keyId7 ) && i . obj7 === undefinedValue )
909+ if ( p . binding7 instanceof DirectiveBinding && isPresent ( p . keyId7 ) && i . obj7 === UNDEFINED )
910910 i . obj7 = i . instantiateBinding ( p . binding7 , p . visibility7 ) ;
911- if ( p . binding8 instanceof DirectiveBinding && isPresent ( p . keyId8 ) && i . obj8 === undefinedValue )
911+ if ( p . binding8 instanceof DirectiveBinding && isPresent ( p . keyId8 ) && i . obj8 === UNDEFINED )
912912 i . obj8 = i . instantiateBinding ( p . binding8 , p . visibility8 ) ;
913- if ( p . binding9 instanceof DirectiveBinding && isPresent ( p . keyId9 ) && i . obj9 === undefinedValue )
913+ if ( p . binding9 instanceof DirectiveBinding && isPresent ( p . keyId9 ) && i . obj9 === UNDEFINED )
914914 i . obj9 = i . instantiateBinding ( p . binding9 , p . visibility9 ) ;
915915 }
916916
917917 dehydrate ( ) {
918918 var i = this . injectorStrategy ;
919919
920- i . obj0 = undefinedValue ;
921- i . obj1 = undefinedValue ;
922- i . obj2 = undefinedValue ;
923- i . obj3 = undefinedValue ;
924- i . obj4 = undefinedValue ;
925- i . obj5 = undefinedValue ;
926- i . obj6 = undefinedValue ;
927- i . obj7 = undefinedValue ;
928- i . obj8 = undefinedValue ;
929- i . obj9 = undefinedValue ;
920+ i . obj0 = UNDEFINED ;
921+ i . obj1 = UNDEFINED ;
922+ i . obj2 = UNDEFINED ;
923+ i . obj3 = UNDEFINED ;
924+ i . obj4 = UNDEFINED ;
925+ i . obj5 = UNDEFINED ;
926+ i . obj6 = UNDEFINED ;
927+ i . obj7 = UNDEFINED ;
928+ i . obj8 = UNDEFINED ;
929+ i . obj9 = UNDEFINED ;
930930 }
931931
932932 callOnDestroy ( ) : void {
@@ -1012,43 +1012,43 @@ class ElementInjectorInlineStrategy implements _ElementInjectorStrategy {
10121012 var p = i . protoStrategy ;
10131013
10141014 if ( isPresent ( p . binding0 ) && p . binding0 . key . token === query . selector ) {
1015- if ( i . obj0 === undefinedValue ) i . obj0 = i . instantiateBinding ( p . binding0 , p . visibility0 ) ;
1015+ if ( i . obj0 === UNDEFINED ) i . obj0 = i . instantiateBinding ( p . binding0 , p . visibility0 ) ;
10161016 list . push ( i . obj0 ) ;
10171017 }
10181018 if ( isPresent ( p . binding1 ) && p . binding1 . key . token === query . selector ) {
1019- if ( i . obj1 === undefinedValue ) i . obj1 = i . instantiateBinding ( p . binding1 , p . visibility1 ) ;
1019+ if ( i . obj1 === UNDEFINED ) i . obj1 = i . instantiateBinding ( p . binding1 , p . visibility1 ) ;
10201020 list . push ( i . obj1 ) ;
10211021 }
10221022 if ( isPresent ( p . binding2 ) && p . binding2 . key . token === query . selector ) {
1023- if ( i . obj2 === undefinedValue ) i . obj2 = i . instantiateBinding ( p . binding2 , p . visibility2 ) ;
1023+ if ( i . obj2 === UNDEFINED ) i . obj2 = i . instantiateBinding ( p . binding2 , p . visibility2 ) ;
10241024 list . push ( i . obj2 ) ;
10251025 }
10261026 if ( isPresent ( p . binding3 ) && p . binding3 . key . token === query . selector ) {
1027- if ( i . obj3 === undefinedValue ) i . obj3 = i . instantiateBinding ( p . binding3 , p . visibility3 ) ;
1027+ if ( i . obj3 === UNDEFINED ) i . obj3 = i . instantiateBinding ( p . binding3 , p . visibility3 ) ;
10281028 list . push ( i . obj3 ) ;
10291029 }
10301030 if ( isPresent ( p . binding4 ) && p . binding4 . key . token === query . selector ) {
1031- if ( i . obj4 === undefinedValue ) i . obj4 = i . instantiateBinding ( p . binding4 , p . visibility4 ) ;
1031+ if ( i . obj4 === UNDEFINED ) i . obj4 = i . instantiateBinding ( p . binding4 , p . visibility4 ) ;
10321032 list . push ( i . obj4 ) ;
10331033 }
10341034 if ( isPresent ( p . binding5 ) && p . binding5 . key . token === query . selector ) {
1035- if ( i . obj5 === undefinedValue ) i . obj5 = i . instantiateBinding ( p . binding5 , p . visibility5 ) ;
1035+ if ( i . obj5 === UNDEFINED ) i . obj5 = i . instantiateBinding ( p . binding5 , p . visibility5 ) ;
10361036 list . push ( i . obj5 ) ;
10371037 }
10381038 if ( isPresent ( p . binding6 ) && p . binding6 . key . token === query . selector ) {
1039- if ( i . obj6 === undefinedValue ) i . obj6 = i . instantiateBinding ( p . binding6 , p . visibility6 ) ;
1039+ if ( i . obj6 === UNDEFINED ) i . obj6 = i . instantiateBinding ( p . binding6 , p . visibility6 ) ;
10401040 list . push ( i . obj6 ) ;
10411041 }
10421042 if ( isPresent ( p . binding7 ) && p . binding7 . key . token === query . selector ) {
1043- if ( i . obj7 === undefinedValue ) i . obj7 = i . instantiateBinding ( p . binding7 , p . visibility7 ) ;
1043+ if ( i . obj7 === UNDEFINED ) i . obj7 = i . instantiateBinding ( p . binding7 , p . visibility7 ) ;
10441044 list . push ( i . obj7 ) ;
10451045 }
10461046 if ( isPresent ( p . binding8 ) && p . binding8 . key . token === query . selector ) {
1047- if ( i . obj8 === undefinedValue ) i . obj8 = i . instantiateBinding ( p . binding8 , p . visibility8 ) ;
1047+ if ( i . obj8 === UNDEFINED ) i . obj8 = i . instantiateBinding ( p . binding8 , p . visibility8 ) ;
10481048 list . push ( i . obj8 ) ;
10491049 }
10501050 if ( isPresent ( p . binding9 ) && p . binding9 . key . token === query . selector ) {
1051- if ( i . obj9 === undefinedValue ) i . obj9 = i . instantiateBinding ( p . binding9 , p . visibility9 ) ;
1051+ if ( i . obj9 === UNDEFINED ) i . obj9 = i . instantiateBinding ( p . binding9 , p . visibility9 ) ;
10521052 list . push ( i . obj9 ) ;
10531053 }
10541054 }
@@ -1072,15 +1072,15 @@ class ElementInjectorDynamicStrategy implements _ElementInjectorStrategy {
10721072
10731073 for ( var i = 0 ; i < p . keyIds . length ; i ++ ) {
10741074 if ( p . bindings [ i ] instanceof DirectiveBinding && isPresent ( p . keyIds [ i ] ) &&
1075- inj . objs [ i ] === undefinedValue ) {
1075+ inj . objs [ i ] === UNDEFINED ) {
10761076 inj . objs [ i ] = inj . instantiateBinding ( p . bindings [ i ] , p . visibilities [ i ] ) ;
10771077 }
10781078 }
10791079 }
10801080
10811081 dehydrate ( ) : void {
10821082 var inj = this . injectorStrategy ;
1083- ListWrapper . fill ( inj . objs , undefinedValue ) ;
1083+ ListWrapper . fill ( inj . objs , UNDEFINED ) ;
10841084 }
10851085
10861086 callOnDestroy ( ) : void {
@@ -1119,7 +1119,7 @@ class ElementInjectorDynamicStrategy implements _ElementInjectorStrategy {
11191119
11201120 for ( var i = 0 ; i < p . bindings . length ; i ++ ) {
11211121 if ( p . bindings [ i ] . key . token === query . selector ) {
1122- if ( ist . objs [ i ] === undefinedValue ) {
1122+ if ( ist . objs [ i ] === UNDEFINED ) {
11231123 ist . objs [ i ] = ist . instantiateBinding ( p . bindings [ i ] , p . visibilities [ i ] ) ;
11241124 }
11251125 list . push ( ist . objs [ i ] ) ;
0 commit comments