| OLD | NEW |
| (Empty) |
| 1 library angular.core.dom; | |
| 2 | |
| 3 import 'dart:async' as async; | |
| 4 import 'dart:convert' show JSON; | |
| 5 import 'dart:html' as dom; | |
| 6 import 'dart:mirrors'; | |
| 7 | |
| 8 import 'package:di/di.dart'; | |
| 9 import 'package:perf_api/perf_api.dart'; | |
| 10 | |
| 11 import 'package:angular/core/module.dart'; | |
| 12 import 'package:angular/core/parser/parser.dart'; | |
| 13 | |
| 14 part 'block.dart'; | |
| 15 part 'block_factory.dart'; | |
| 16 part 'cookies.dart'; | |
| 17 part 'common.dart'; | |
| 18 part 'compiler.dart'; | |
| 19 part 'directive.dart'; | |
| 20 part 'directive_map.dart'; | |
| 21 part 'http.dart'; | |
| 22 part 'ng_mustache.dart'; | |
| 23 part 'node_cursor.dart'; | |
| 24 part 'selector.dart'; | |
| 25 part 'template_cache.dart'; | |
| 26 part 'tree_sanitizer.dart'; | |
| 27 | |
| 28 class NgCoreDomModule extends Module { | |
| 29 NgCoreDomModule() { | |
| 30 value(dom.Window, dom.window); | |
| 31 | |
| 32 factory(TemplateCache, (_) => new TemplateCache(capacity: 0)); | |
| 33 type(dom.NodeTreeSanitizer, implementedBy: NullTreeSanitizer); | |
| 34 | |
| 35 type(NgTextMustacheDirective); | |
| 36 type(NgAttrMustacheDirective); | |
| 37 | |
| 38 type(Compiler); | |
| 39 type(Http); | |
| 40 type(UrlRewriter); | |
| 41 type(HttpBackend); | |
| 42 type(HttpDefaultHeaders); | |
| 43 type(HttpDefaults); | |
| 44 type(HttpInterceptors); | |
| 45 type(BlockCache); | |
| 46 type(BrowserCookies); | |
| 47 type(Cookies); | |
| 48 type(LocationWrapper); | |
| 49 type(FieldMetadataExtractor); | |
| 50 type(DirectiveMap); | |
| 51 } | |
| 52 } | |
| 53 | |
| 54 /** | |
| 55 * Implementing components [onShadowRoot] method will be called when | |
| 56 * the template for the component has been loaded and inserted into Shadow DOM. | |
| 57 * It is guaranteed that when [onShadowRoot] is invoked, that shadow DOM | |
| 58 * has been loaded and is ready. | |
| 59 */ | |
| 60 abstract class NgShadowRootAware { | |
| 61 void onShadowRoot(dom.ShadowRoot shadowRoot); | |
| 62 } | |
| OLD | NEW |