| OLD | NEW |
| 1 /** |
| 2 * Core functionality for [angular.dart](#angular/angular), a web framework for
Dart. |
| 3 * |
| 4 * This library is included as part of [angular.dart](#angular/angular). The ang
ular.core library |
| 5 * provides all of the fundamental Classes and Type Definitions that provide the
basis for |
| 6 * formatters (in [angular .formatter](#angular-formatter)) and directives (in [
angular.directive] |
| 7 * (#angular-directive)). |
| 8 * |
| 9 */ |
| 1 library angular.core; | 10 library angular.core; |
| 2 | 11 |
| 3 import 'dart:async' as async; | 12 export "package:angular/change_detection/watch_group.dart" show |
| 4 import 'dart:collection'; | 13 ReactionFn; |
| 5 import 'dart:mirrors'; | |
| 6 import 'package:intl/intl.dart'; | |
| 7 | 14 |
| 8 import 'package:di/di.dart'; | 15 export "package:angular/core/parser/parser.dart" show |
| 16 Parser; |
| 9 | 17 |
| 10 import 'package:angular/core/parser/parser.dart'; | 18 export "package:angular/core/parser/dynamic_parser.dart" show |
| 11 import 'package:angular/core/parser/lexer.dart'; | 19 ClosureMap; |
| 12 import 'package:angular/utils.dart'; | |
| 13 | 20 |
| 14 import 'package:angular/core/service.dart'; | 21 export "package:angular/change_detection/change_detection.dart" show |
| 15 export 'package:angular/core/service.dart'; | 22 AvgStopwatch, |
| 23 FieldGetterFactory; |
| 16 | 24 |
| 17 import 'package:angular/change_detection/watch_group.dart'; | 25 export "package:angular/core_dom/module_internal.dart" show |
| 18 export 'package:angular/change_detection/watch_group.dart'; | 26 Animation, |
| 19 import 'package:angular/change_detection/change_detection.dart'; | 27 AnimationResult, |
| 20 import 'package:angular/change_detection/dirty_checking_change_detector.dart'; | 28 BrowserCookies, |
| 21 import 'package:angular/core/parser/utils.dart'; | 29 Cache, |
| 22 import 'package:angular/core/parser/syntax.dart'; | 30 Compiler, |
| 31 Cookies, |
| 32 BoundViewFactory, |
| 33 DirectiveMap, |
| 34 ElementProbe, |
| 35 EventHandler, |
| 36 Http, |
| 37 HttpBackend, |
| 38 HttpDefaultHeaders, |
| 39 HttpDefaults, |
| 40 HttpInterceptor, |
| 41 HttpInterceptors, |
| 42 HttpResponse, |
| 43 HttpResponseConfig, |
| 44 LocationWrapper, |
| 45 NgAnimate, |
| 46 NgElement, |
| 47 NoOpAnimation, |
| 48 NullTreeSanitizer, |
| 49 Animate, |
| 50 RequestErrorInterceptor, |
| 51 RequestInterceptor, |
| 52 Response, |
| 53 ResponseError, |
| 54 UrlRewriter, |
| 55 TemplateCache, |
| 56 View, |
| 57 ViewCache, |
| 58 ViewFactory, |
| 59 ViewPort; |
| 23 | 60 |
| 24 part "cache.dart"; | 61 export "package:angular/core/module_internal.dart" show |
| 25 part "directive.dart"; | 62 CacheStats, |
| 26 part "exception_handler.dart"; | 63 ExceptionHandler, |
| 27 part "filter.dart"; | 64 FilterMap, |
| 28 part "interpolate.dart"; | 65 Interpolate, |
| 29 part "registry.dart"; | 66 VmTurnZone, |
| 30 part "scope.dart"; | 67 PrototypeMap, |
| 31 part "zone.dart"; | 68 RootScope, |
| 32 | 69 Scope, |
| 33 | 70 ScopeDigestTTL, |
| 34 class NgCoreModule extends Module { | 71 ScopeEvent, |
| 35 NgCoreModule() { | 72 ScopeStats, |
| 36 type(ScopeDigestTTL); | 73 ScopeStatsConfig, |
| 37 | 74 ScopeStatsEmitter, |
| 38 type(MetadataExtractor); | 75 Watch; |
| 39 type(Cache); | |
| 40 type(ExceptionHandler); | |
| 41 type(FilterMap); | |
| 42 type(Interpolate); | |
| 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); | |
| 49 type(NgZone); | |
| 50 | |
| 51 type(Parser, implementedBy: DynamicParser); | |
| 52 type(ParserBackend, implementedBy: DynamicParserBackend); | |
| 53 type(DynamicParser); | |
| 54 type(DynamicParserBackend); | |
| 55 type(Lexer); | |
| 56 type(ClosureMap); | |
| 57 } | |
| 58 } | |
| OLD | NEW |