| OLD | NEW |
| 1 library angular.directive; | 1 library angular.directive; |
| 2 | 2 |
| 3 import 'package:di/di.dart'; | 3 import 'package:di/di.dart'; |
| 4 import 'dart:html' as dom; | 4 import 'dart:html' as dom; |
| 5 import 'dart:async' as async; |
| 5 import 'package:intl/intl.dart'; | 6 import 'package:intl/intl.dart'; |
| 6 import 'package:angular/core/module.dart'; | 7 import 'package:angular/core/module.dart'; |
| 7 import 'package:angular/core/parser/parser.dart'; | 8 import 'package:angular/core/parser/parser.dart'; |
| 8 import 'package:angular/core_dom/module.dart'; | 9 import 'package:angular/core_dom/module.dart'; |
| 9 import 'package:angular/utils.dart'; | 10 import 'package:angular/utils.dart'; |
| 10 import 'package:angular/change_detection/watch_group.dart'; | |
| 11 import 'package:angular/change_detection/change_detection.dart'; | |
| 12 | 11 |
| 13 part 'ng_a.dart'; | 12 part 'ng_a.dart'; |
| 14 part 'ng_bind.dart'; | 13 part 'ng_bind.dart'; |
| 15 part 'ng_bind_html.dart'; | 14 part 'ng_bind_html.dart'; |
| 16 part 'ng_bind_template.dart'; | 15 part 'ng_bind_template.dart'; |
| 17 part 'ng_class.dart'; | 16 part 'ng_class.dart'; |
| 18 part 'ng_events.dart'; | 17 part 'ng_events.dart'; |
| 19 part 'ng_cloak.dart'; | 18 part 'ng_cloak.dart'; |
| 20 part 'ng_if.dart'; | 19 part 'ng_if.dart'; |
| 21 part 'ng_include.dart'; | 20 part 'ng_include.dart'; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 32 part 'input_select.dart'; | 31 part 'input_select.dart'; |
| 33 part 'ng_form.dart'; | 32 part 'ng_form.dart'; |
| 34 part 'ng_model_validators.dart'; | 33 part 'ng_model_validators.dart'; |
| 35 | 34 |
| 36 class NgDirectiveModule extends Module { | 35 class NgDirectiveModule extends Module { |
| 37 NgDirectiveModule() { | 36 NgDirectiveModule() { |
| 38 value(NgADirective, null); | 37 value(NgADirective, null); |
| 39 value(NgBindDirective, null); | 38 value(NgBindDirective, null); |
| 40 value(NgBindTemplateDirective, null); | 39 value(NgBindTemplateDirective, null); |
| 41 value(NgBindHtmlDirective, null); | 40 value(NgBindHtmlDirective, null); |
| 42 value(dom.NodeValidator, new dom.NodeValidatorBuilder.common()); | |
| 43 value(NgClassDirective, null); | 41 value(NgClassDirective, null); |
| 44 value(NgClassOddDirective, null); | 42 value(NgClassOddDirective, null); |
| 45 value(NgClassEvenDirective, null); | 43 value(NgClassEvenDirective, null); |
| 46 value(NgCloakDirective, null); | 44 value(NgCloakDirective, null); |
| 47 value(NgHideDirective, null); | 45 value(NgHideDirective, null); |
| 48 value(NgIfDirective, null); | 46 value(NgIfDirective, null); |
| 49 value(NgUnlessDirective, null); | 47 value(NgUnlessDirective, null); |
| 50 value(NgIncludeDirective, null); | 48 value(NgIncludeDirective, null); |
| 51 value(NgPluralizeDirective, null); | 49 value(NgPluralizeDirective, null); |
| 52 value(NgRepeatDirective, null); | 50 value(NgRepeatDirective, null); |
| 53 value(NgShallowRepeatDirective, null); | 51 value(NgShalowRepeatDirective, null); |
| 54 value(NgShowDirective, null); | 52 value(NgShowDirective, null); |
| 55 value(InputTextLikeDirective, null); | 53 value(InputTextLikeDirective, null); |
| 56 value(InputNumberLikeDirective, null); | |
| 57 value(InputRadioDirective, null); | 54 value(InputRadioDirective, null); |
| 58 value(InputCheckboxDirective, null); | 55 value(InputCheckboxDirective, null); |
| 59 value(InputSelectDirective, null); | 56 value(InputSelectDirective, null); |
| 60 value(OptionValueDirective, null); | 57 value(OptionValueDirective, null); |
| 61 value(ContentEditableDirective, null); | 58 value(ContentEditableDirective, null); |
| 62 value(NgModel, null); | 59 value(NgModel, null); |
| 63 value(NgValue, new NgValue(null)); | |
| 64 value(NgTrueValue, new NgTrueValue(null)); | |
| 65 value(NgFalseValue, new NgFalseValue(null)); | |
| 66 value(NgSwitchDirective, null); | 60 value(NgSwitchDirective, null); |
| 67 value(NgSwitchWhenDirective, null); | 61 value(NgSwitchWhenDirective, null); |
| 68 value(NgSwitchDefaultDirective, null); | 62 value(NgSwitchDefaultDirective, null); |
| 69 | 63 |
| 70 value(NgBooleanAttributeDirective, null); | 64 value(NgBooleanAttributeDirective, null); |
| 71 value(NgSourceDirective, null); | 65 value(NgSourceDirective, null); |
| 72 value(NgAttributeDirective, null); | 66 value(NgAttributeDirective, null); |
| 73 | 67 |
| 74 value(NgEventDirective, null); | 68 value(NgEventDirective, null); |
| 75 value(NgStyleDirective, null); | 69 value(NgStyleDirective, null); |
| 76 value(NgNonBindableDirective, null); | 70 value(NgNonBindableDirective, null); |
| 77 value(NgTemplateDirective, null); | 71 value(NgTemplateDirective, null); |
| 78 value(NgControl, new NgNullControl()); | |
| 79 value(NgForm, new NgNullForm()); | 72 value(NgForm, new NgNullForm()); |
| 80 | 73 |
| 81 value(NgModelRequiredValidator, null); | 74 value(NgModelRequiredValidator, null); |
| 82 value(NgModelUrlValidator, null); | 75 value(NgModelUrlValidator, null); |
| 83 value(NgModelEmailValidator, null); | 76 value(NgModelEmailValidator, null); |
| 84 value(NgModelNumberValidator, null); | 77 value(NgModelNumberValidator, null); |
| 85 value(NgModelPatternValidator, null); | 78 value(NgModelPatternValidator, null); |
| 86 value(NgModelMinLengthValidator, null); | 79 value(NgModelMinLengthValidator, null); |
| 87 value(NgModelMaxLengthValidator, null); | 80 value(NgModelMaxLengthValidator, null); |
| 88 } | 81 } |
| 89 } | 82 } |
| OLD | NEW |