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