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