Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: third_party/pkg/angular/test/io/test_files/main.dart

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library test_files.main; 1 library test_files.main;
2 2
3 import 'package:angular/core/module.dart'; 3 import 'package:angular/core/annotation_src.dart';
4 4
5 @NgDirective( 5 @Decorator(
6 children: NgAnnotation.TRANSCLUDE_CHILDREN, 6 children: Directive.TRANSCLUDE_CHILDREN,
7 selector:'[ng-if]', 7 selector:'[ng-if]',
8 map: const {'.': '=>ngIfCondition'}) 8 map: const {'.': '=>ngIfCondition'})
9 class NgIfDirective { 9 class NgIfDirective {
10 bool ngIfCondition; 10 bool ngIfCondition;
11 } 11 }
12 12
13 @NgComponent( 13 @Component(
14 selector: 'my-component', 14 selector: 'my-component',
15 map: const { 15 map: const {
16 'attr': '@attr', 16 'attr': '@attr',
17 'expr': '=>expr' 17 'expr': '=>expr'
18 }, 18 },
19 template: '<div>{{ctrl.inline.template.expression}}</div>', 19 template: '<div>{{ctrl.inline.template.expression}}</div>',
20 exportExpressionAttrs: const ['exported-attr'], 20 exportExpressionAttrs: const ['exported-attr'],
21 exportExpressions: const ['exported + expression']) 21 exportExpressions: const ['exported + expression'])
22 class MyComponent { 22 class MyComponent {
23 @NgOneWay('another-expression') 23 @NgOneWay('another-expression')
24 String anotherExpression; 24 String anotherExpression;
25 25
26 @NgCallback('callback') 26 @NgCallback('callback')
27 set callback(Function) {} 27 set callback(Function) {}
28 28
29 set twoWayStuff(String abc) {} 29 set twoWayStuff(String abc) {}
30 @NgTwoWay('two-way-stuff') 30 @NgTwoWay('two-way-stuff')
31 String get twoWayStuff => null; 31 String get twoWayStuff => null;
32 } 32 }
33 33
34 class CssUrlsString { 34 class CssUrlsString {
35 35
36 } 36 }
37 37
38 class CssUrlsList { 38 class CssUrlsList {
39 39
40 } 40 }
OLDNEW
« no previous file with comments | « third_party/pkg/angular/test/io/test_files/cssUrls/main.dart ('k') | third_party/pkg/angular/test/io/test_files/routing.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698