This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree 11 files changed +24
-20
lines changed 11 files changed +24
-20
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import 'dart:io' as io;
2
2
3
3
import 'package:di/di.dart' ;
4
4
import 'package:di/dynamic_injector.dart' ;
5
- import 'package:angular/core/module_internal .dart' ;
5
+ import 'package:angular/core/annotation_src .dart' ;
6
6
import 'package:angular/core/parser/parser.dart' ;
7
7
import 'package:angular/tools/parser_getter_setter/generator.dart' ;
8
8
Original file line number Diff line number Diff line change 3
3
*/
4
4
library angular.core.annotation;
5
5
6
+ import "dart:html" show ShadowRoot;
7
+
6
8
export "package:angular/core/annotation_src.dart" show
7
9
NgAttachAware,
8
10
NgDetachAware,
11
+ NgShadowRootAware,
9
12
10
13
NgFilter,
11
14
NgInjectableService,
@@ -22,3 +25,14 @@ export "package:angular/core/annotation_src.dart" show
22
25
NgOneWayOneTime,
23
26
NgTwoWay;
24
27
28
+
29
+ /**
30
+ * Implementing components [onShadowRoot] method will be called when
31
+ * the template for the component has been loaded and inserted into Shadow DOM.
32
+ * It is guaranteed that when [onShadowRoot] is invoked, that shadow DOM
33
+ * has been loaded and is ready.
34
+ */
35
+ abstract class NgShadowRootAware {
36
+ void onShadowRoot (ShadowRoot shadowRoot);
37
+ }
38
+
Original file line number Diff line number Diff line change @@ -531,7 +531,6 @@ abstract class NgDetachAware {
531
531
void detach ();
532
532
}
533
533
534
-
535
534
/**
536
535
* Use @[NgFilter] annotation to register a new filter. A filter is a class
537
536
* with a [call] method (a callable function).
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import 'package:angular/core/parser/parser.dart';
11
11
import 'package:angular/core/parser/lexer.dart' ;
12
12
import 'package:angular/utils.dart' ;
13
13
14
- import 'package:angular/core/annotation .dart' ;
14
+ import 'package:angular/core/annotation_src .dart' ;
15
15
16
16
import 'package:angular/change_detection/watch_group.dart' ;
17
17
export 'package:angular/change_detection/watch_group.dart' ;
Original file line number Diff line number Diff line change 1
1
library angular.core.parser.dynamic_parser;
2
2
3
- import 'package:angular/core/annotation .dart' ;
3
+ import 'package:angular/core/annotation_src .dart' ;
4
4
import 'package:angular/core/module_internal.dart' show FilterMap;
5
5
6
6
import 'package:angular/core/parser/parser.dart' ;
Original file line number Diff line number Diff line change 1
1
library angular.core.parser.lexer;
2
2
3
- import 'package:angular/core/annotation .dart' ;
3
+ import 'package:angular/core/annotation_src .dart' ;
4
4
import 'package:angular/core/parser/characters.dart' ;
5
5
6
6
part 'tokens.dart' ;
Original file line number Diff line number Diff line change 1
1
library angular.core.parser.static_parser;
2
2
3
- import 'package:angular/core/annotation .dart' show NgInjectableService;
3
+ import 'package:angular/core/annotation_src .dart' show NgInjectableService;
4
4
import 'package:angular/core/module_internal.dart' show FilterMap;
5
5
import 'package:angular/core/parser/parser.dart' ;
6
6
import 'package:angular/core/parser/utils.dart' show EvalError;
Original file line number Diff line number Diff line change 1
1
library angular.core_static;
2
2
3
- import 'package:angular/core/annotation .dart' ;
3
+ import 'package:angular/core/annotation_src .dart' show NgInjectableService ;
4
4
import 'package:angular/core/registry.dart' ;
5
5
6
6
@NgInjectableService ()
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ import 'dart:html' as dom;
7
7
import 'package:di/di.dart' ;
8
8
import 'package:perf_api/perf_api.dart' ;
9
9
10
- import 'package:angular/core/annotation_src.dart' ;
10
+ import 'package:angular/core/annotation.dart' ;
11
+ import 'package:angular/core/annotation_src.dart' show SHADOW_DOM_INJECTOR_NAME;
11
12
import 'package:angular/core/module_internal.dart' ;
12
13
import 'package:angular/core/parser/parser.dart' ;
13
14
import 'package:angular/core_dom/dom_util.dart' as util;
@@ -69,13 +70,3 @@ class NgCoreDomModule extends Module {
69
70
type (EventHandler );
70
71
}
71
72
}
72
-
73
- /**
74
- * Implementing components [onShadowRoot] method will be called when
75
- * the template for the component has been loaded and inserted into Shadow DOM.
76
- * It is guaranteed that when [onShadowRoot] is invoked, that shadow DOM
77
- * has been loaded and is ready.
78
- */
79
- abstract class NgShadowRootAware {
80
- void onShadowRoot (dom.ShadowRoot shadowRoot);
81
- }
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import 'dart:convert' show JSON;
5
5
import 'dart:html' ;
6
6
7
7
import 'package:angular/core_dom/module_internal.dart' ;
8
- import 'package:angular/core/annotation .dart' ;
8
+ import 'package:angular/core/annotation_src .dart' ;
9
9
import 'package:angular/mock/http_backend.dart' as mock;
10
10
11
11
import 'package:angular/playback/playback_data.dart' as playback_data;
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ import 'dart:html';
155
155
156
156
import ' package: di/ di.dart';
157
157
import ' package: angular/ bootstrap.dart';
158
- import ' package: angular/ core/ annotation .dart';
158
+ import ' package: angular/ core/ annotation_src .dart';
159
159
import ' package: angular/ core/ module_internal.dart';
160
160
import ' package: angular/ core_dom/ module_internal.dart';
161
161
import ' package: route_hierarchical/ client.dart';
You can’t perform that action at this time.
0 commit comments