| 
							
							
								 vsavkin | 79994b2abf | refactor(forms): use multibindings instead of query to get a list of validators BREAKING CHANGE
Before:
@Directive({selector: '[credit-card]', bindings: [new Binding(NgValidator, {toAlias: forwardRef(() => CreditCardValidator)})]})
class CreditCardValidator {
  get validator() { return CreditCardValidator.validate; }
  static validate(c): StringMap<string, boolean> {...}
}
After:
function creditCardValidator(c): StringMap<string, boolean> {...}
@Directive({selector: '[credit-card]', bindings: [new Binding(NG_VALIDATORS, {toValue: creditCardValidator, multi: true})]})
class CreditCardValidator {} | 2015-09-03 15:18:18 +00:00 |  | 
			
				
					| 
							
							
								 Misko Hevery | 551d9a1688 | chore(LifecycleEvent): change to PascalCase / rename BREAKING CHANGE
Closes #3863
- LifecycleEvent.onInit => LifecycleEvent.OnInit
- LifecycleEvent.onDestroy => LifecycleEvent.OnDestroy
- LifecycleEvent.onChange => LifecycleEvent.OnChanges
- LifecycleEvent.onCheck => LifecycleEvent.DoCheck
- LifecycleEvent.onAllChangesDone => LifecycleEvent.AfterContentChecked
- OnCheck.onCheck() => DoCheck.doCheck()
- OnChange.onChange() => OnChanges.onChanges()
- OnAllChangesDone.onAllChangesDone() => AfterContentChecked.afterContentChecked
Closes #3851 | 2015-08-27 22:32:21 -07:00 |  | 
			
				
					| 
							
							
								 vsavkin | 3f7ebde037 | feat(forms): changed all form directives to have basic control attributes | 2015-07-08 12:04:38 -07:00 |  | 
			
				
					| 
							
							
								 vsavkin | 4d1ed509e3 | refactor(forms): refactored forms to user Query to get html validators | 2015-06-19 16:02:43 -07:00 |  | 
			
				
					| 
							
							
								 vsavkin | 4fe919335c | refactor(forms): made directive names consistent | 2015-06-12 09:45:55 -07:00 |  | 
			
				
					| 
							
							
								 vsavkin | 3baf815d76 | feat(forms): added support for status classes | 2015-06-03 14:43:46 -07:00 |  | 
			
				
					| 
							
							
								 vsavkin | ec3a78289f | feat(forms): added touched and untouched to Control | 2015-06-02 17:32:41 -07:00 |  | 
			
				
					| 
							
							
								 vsavkin | 652ed0cf6d | feat(form): implemented an imperative way of updating the view by updating the value of a control | 2015-06-02 16:24:07 -07:00 |  | 
			
				
					| 
							
							
								 vsavkin | a9d6fd9afa | feat(forms): implemented template-driven forms | 2015-05-30 11:56:00 -07:00 |  | 
			
				
					| 
							
							
								 vsavkin | 3525c9c074 | chore(forms): moved tests/forms to typescript | 2015-05-22 14:44:57 -07:00 |  |