refactor(playground): rename bindings to providers

This commit is contained in:
mgechev 2015-11-26 11:49:31 +02:00 committed by Jeremy Elbourn
parent 9a65ea7ea7
commit 1417e12f28
1 changed files with 1 additions and 1 deletions

View File

@ -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 {
}