| OLD | NEW |
| 1 library angular.core; | 1 library angular.core_internal; |
| 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:mirrors'; | 5 import 'dart:math'; |
| 6 import 'package:intl/intl.dart'; | 6 import 'package:intl/intl.dart'; |
| 7 | 7 |
| 8 import 'package:di/di.dart'; | 8 import 'package:di/di.dart'; |
| 9 | 9 |
| 10 import 'package:angular/core/parser/parser.dart'; | 10 import 'package:angular/core/parser/parser.dart'; |
| 11 import 'package:angular/core/parser/lexer.dart'; | 11 import 'package:angular/core/parser/lexer.dart'; |
| 12 import 'package:angular/utils.dart'; | 12 import 'package:angular/utils.dart'; |
| 13 | 13 |
| 14 import 'package:angular/core/service.dart'; | 14 import 'package:angular/core/annotation_src.dart'; |
| 15 export 'package:angular/core/service.dart'; | |
| 16 | 15 |
| 17 import 'package:angular/change_detection/watch_group.dart'; | 16 import 'package:angular/change_detection/watch_group.dart'; |
| 18 export 'package:angular/change_detection/watch_group.dart'; | 17 export 'package:angular/change_detection/watch_group.dart'; |
| 19 import 'package:angular/change_detection/change_detection.dart'; | 18 import 'package:angular/change_detection/change_detection.dart'; |
| 20 import 'package:angular/change_detection/dirty_checking_change_detector.dart'; | 19 import 'package:angular/change_detection/dirty_checking_change_detector.dart'; |
| 21 import 'package:angular/core/parser/utils.dart'; | 20 import 'package:angular/core/parser/utils.dart'; |
| 22 import 'package:angular/core/parser/syntax.dart'; | 21 import 'package:angular/core/parser/syntax.dart'; |
| 22 import 'package:angular/core/registry.dart'; |
| 23 | 23 |
| 24 part "cache.dart"; | 24 part "cache.dart"; |
| 25 part "directive.dart"; | |
| 26 part "exception_handler.dart"; | 25 part "exception_handler.dart"; |
| 27 part "filter.dart"; | 26 part 'formatter.dart'; |
| 28 part "interpolate.dart"; | 27 part "interpolate.dart"; |
| 29 part "registry.dart"; | |
| 30 part "scope.dart"; | 28 part "scope.dart"; |
| 31 part "zone.dart"; | 29 part "zone.dart"; |
| 32 | 30 |
| 33 | 31 |
| 34 class NgCoreModule extends Module { | 32 class CoreModule extends Module { |
| 35 NgCoreModule() { | 33 CoreModule() { |
| 36 type(ScopeDigestTTL); | 34 type(ScopeDigestTTL); |
| 37 | 35 |
| 38 type(MetadataExtractor); | 36 type(MetadataExtractor); |
| 39 type(Cache); | 37 type(Cache); |
| 40 type(ExceptionHandler); | 38 type(ExceptionHandler); |
| 41 type(FilterMap); | 39 type(FormatterMap); |
| 42 type(Interpolate); | 40 type(Interpolate); |
| 43 type(RootScope); | 41 type(RootScope); |
| 44 factory(Scope, (injector) => injector.get(RootScope)); | 42 factory(Scope, (injector) => injector.get(RootScope)); |
| 45 value(ScopeStats, new ScopeStats()); | 43 factory(ClosureMap, (_) => throw "Must provide dynamic/static ClosureMap."); |
| 46 value(GetterCache, new GetterCache({})); | 44 type(ScopeStats); |
| 45 type(ScopeStatsEmitter); |
| 46 factory(ScopeStatsConfig, (i) => new ScopeStatsConfig()); |
| 47 value(Object, {}); // RootScope context | 47 value(Object, {}); // RootScope context |
| 48 type(AstParser); | 48 type(VmTurnZone); |
| 49 type(NgZone); | |
| 50 | 49 |
| 51 type(Parser, implementedBy: DynamicParser); | 50 type(Parser, implementedBy: DynamicParser); |
| 52 type(ParserBackend, implementedBy: DynamicParserBackend); | 51 type(ParserBackend, implementedBy: DynamicParserBackend); |
| 53 type(DynamicParser); | 52 type(DynamicParser); |
| 54 type(DynamicParserBackend); | 53 type(DynamicParserBackend); |
| 55 type(Lexer); | 54 type(Lexer); |
| 56 type(ClosureMap); | |
| 57 } | 55 } |
| 58 } | 56 } |
| OLD | NEW |