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