| 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; | |
| 6 import 'dart:mirrors'; | 5 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'; | |
| 10 | 9 |
| 11 import 'package:angular/core/parser/parser.dart'; | 10 import 'package:angular/core/parser/parser.dart'; |
| 12 import 'package:angular/core/parser/lexer.dart'; | 11 import 'package:angular/core/parser/lexer.dart'; |
| 13 import 'package:angular/utils.dart'; | 12 import 'package:angular/utils.dart'; |
| 14 | 13 |
| 15 import 'package:angular/core/service.dart'; | 14 import 'package:angular/core/service.dart'; |
| 16 export 'package:angular/core/service.dart'; | 15 export 'package:angular/core/service.dart'; |
| 17 | 16 |
| 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 |
| 18 part "cache.dart"; | 24 part "cache.dart"; |
| 19 part "directive.dart"; | 25 part "directive.dart"; |
| 20 part "exception_handler.dart"; | 26 part "exception_handler.dart"; |
| 21 part "filter.dart"; | 27 part "filter.dart"; |
| 22 part "interpolate.dart"; | 28 part "interpolate.dart"; |
| 23 part "registry.dart"; | 29 part "registry.dart"; |
| 24 part "scope.dart"; | 30 part "scope.dart"; |
| 25 part "zone.dart"; | 31 part "zone.dart"; |
| 26 | 32 |
| 27 | 33 |
| 28 class NgCoreModule extends Module { | 34 class NgCoreModule extends Module { |
| 29 NgCoreModule() { | 35 NgCoreModule() { |
| 30 type(ScopeDigestTTL); | 36 type(ScopeDigestTTL); |
| 31 | 37 |
| 32 type(MetadataExtractor); | 38 type(MetadataExtractor); |
| 33 type(FieldMetadataExtractor); | |
| 34 type(Cache); | 39 type(Cache); |
| 35 type(DirectiveMap); | |
| 36 type(ExceptionHandler); | 40 type(ExceptionHandler); |
| 37 type(FilterMap); | 41 type(FilterMap); |
| 38 type(Interpolate); | 42 type(Interpolate); |
| 39 type(Scope); | 43 type(RootScope); |
| 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); |
| 40 type(NgZone); | 49 type(NgZone); |
| 41 | 50 |
| 42 type(Parser, implementedBy: DynamicParser); | 51 type(Parser, implementedBy: DynamicParser); |
| 43 type(ParserBackend, implementedBy: DynamicParserBackend); | 52 type(ParserBackend, implementedBy: DynamicParserBackend); |
| 44 type(DynamicParser); | 53 type(DynamicParser); |
| 45 type(DynamicParserBackend); | 54 type(DynamicParserBackend); |
| 46 type(Lexer); | 55 type(Lexer); |
| 47 type(ClosureMap); | 56 type(ClosureMap); |
| 48 } | 57 } |
| 49 } | 58 } |
| OLD | NEW |