refactor(playground): rename bindings to providers
This commit is contained in:
		
							parent
							
								
									9a65ea7ea7
								
							
						
					
					
						commit
						1417e12f28
					
				| @ -42,7 +42,7 @@ function creditCardValidator(c): {[key: string]: boolean} { | ||||
| const creditCardValidatorBinding = | ||||
|     CONST_EXPR(new Provider(NG_VALIDATORS, {useValue: creditCardValidator, multi: true})); | ||||
| 
 | ||||
| @Directive({selector: '[credit-card]', bindings: [creditCardValidatorBinding]}) | ||||
| @Directive({selector: '[credit-card]', providers: [creditCardValidatorBinding]}) | ||||
| class CreditCardValidator { | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user