| OLD | NEW |
| 1 library angular.core; | 1 library angular.core; |
| 2 | 2 |
| 3 import 'dart:async' as async; | 3 import 'dart:async' as async; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:convert' show JSON; |
| 5 import 'dart:mirrors'; | 6 import 'dart:mirrors'; |
| 6 import 'package:intl/intl.dart'; | |
| 7 | 7 |
| 8 import 'package:di/di.dart'; | 8 import 'package:di/di.dart'; |
| 9 import 'package:perf_api/perf_api.dart'; |
| 9 | 10 |
| 10 import 'package:angular/core/parser/parser.dart'; | 11 import 'package:angular/core/parser/parser.dart'; |
| 11 import 'package:angular/core/parser/lexer.dart'; | 12 import 'package:angular/core/parser/lexer.dart'; |
| 12 import 'package:angular/utils.dart'; | 13 import 'package:angular/utils.dart'; |
| 13 | 14 |
| 14 import 'package:angular/core/service.dart'; | 15 import 'package:angular/core/service.dart'; |
| 15 export 'package:angular/core/service.dart'; | 16 export 'package:angular/core/service.dart'; |
| 16 | 17 |
| 17 import 'package:angular/change_detection/watch_group.dart'; | |
| 18 export 'package:angular/change_detection/watch_group.dart'; | |
| 19 import 'package:angular/change_detection/change_detection.dart'; | |
| 20 import 'package:angular/change_detection/dirty_checking_change_detector.dart'; | |
| 21 import 'package:angular/core/parser/utils.dart'; | |
| 22 import 'package:angular/core/parser/syntax.dart'; | |
| 23 | |
| 24 part "cache.dart"; | 18 part "cache.dart"; |
| 25 part "directive.dart"; | 19 part "directive.dart"; |
| 26 part "exception_handler.dart"; | 20 part "exception_handler.dart"; |
| 27 part "filter.dart"; | 21 part "filter.dart"; |
| 28 part "interpolate.dart"; | 22 part "interpolate.dart"; |
| 29 part "registry.dart"; | 23 part "registry.dart"; |
| 30 part "scope.dart"; | 24 part "scope.dart"; |
| 31 part "zone.dart"; | 25 part "zone.dart"; |
| 32 | 26 |
| 33 | 27 |
| 34 class NgCoreModule extends Module { | 28 class NgCoreModule extends Module { |
| 35 NgCoreModule() { | 29 NgCoreModule() { |
| 36 type(ScopeDigestTTL); | 30 type(ScopeDigestTTL); |
| 37 | 31 |
| 38 type(MetadataExtractor); | 32 type(MetadataExtractor); |
| 33 type(FieldMetadataExtractor); |
| 39 type(Cache); | 34 type(Cache); |
| 35 type(DirectiveMap); |
| 40 type(ExceptionHandler); | 36 type(ExceptionHandler); |
| 41 type(FilterMap); | 37 type(FilterMap); |
| 42 type(Interpolate); | 38 type(Interpolate); |
| 43 type(RootScope); | 39 type(Scope); |
| 44 factory(Scope, (injector) => injector.get(RootScope)); | |
| 45 value(ScopeStats, new ScopeStats()); | |
| 46 value(GetterCache, new GetterCache({})); | |
| 47 value(Object, {}); // RootScope context | |
| 48 type(AstParser); | |
| 49 type(NgZone); | 40 type(NgZone); |
| 50 | 41 |
| 51 type(Parser, implementedBy: DynamicParser); | 42 type(Parser, implementedBy: DynamicParser); |
| 52 type(ParserBackend, implementedBy: DynamicParserBackend); | 43 type(ParserBackend, implementedBy: DynamicParserBackend); |
| 53 type(DynamicParser); | 44 type(DynamicParser); |
| 54 type(DynamicParserBackend); | 45 type(DynamicParserBackend); |
| 55 type(Lexer); | 46 type(Lexer); |
| 56 type(ClosureMap); | 47 type(ClosureMap); |
| 57 } | 48 } |
| 58 } | 49 } |
| OLD | NEW |