| OLD | NEW |
| 1 >>> | 1 >>> |
| 2 @Component( | 2 @Component( |
| 3 selector: 'my-selector', | 3 selector: 'my-selector', |
| 4 properties: const ['property-1', 'property-2', 'property-3', 'property-4', '
property-5']) | 4 properties: const ['property-1', 'property-2', 'property-3', 'property-4', '
property-5']) |
| 5 @View( | 5 @View( |
| 6 directives: const [OtherComponent1, OtherComponent2, OtherComponent3, OtherD
irective4, OtherDirective5, OtherDirective6, OtherDirective7,], | 6 directives: const [OtherComponent1, OtherComponent2, OtherComponent3, OtherD
irective4, OtherDirective5, OtherDirective6, OtherDirective7,], |
| 7 styleUrls: const ['package:path.to.my.amazing.component.library/my_amazing_c
omponent.scss.css'], | 7 styleUrls: const ['package:path.to.my.amazing.component.library/my_amazing_c
omponent.scss.css'], |
| 8 templateUrl: 'package:path.to.my.amazing.component.library/my_amazing_compon
ent.html') | 8 templateUrl: 'package:path.to.my.amazing.component.library/my_amazing_compon
ent.html') |
| 9 class MyAmazingComponent { | 9 class MyAmazingComponent { |
| 10 var a = [[[1]]]; | 10 var a = [[[1]]]; |
| 11 } | 11 } |
| 12 <<< | 12 <<< |
| 13 @Component( | 13 @Component(selector: 'my-selector', properties: const [ |
| 14 selector: 'my-selector', | 14 'property-1', |
| 15 properties: const [ | 15 'property-2', |
| 16 'property-1', | 16 'property-3', |
| 17 'property-2', | 17 'property-4', |
| 18 'property-3', | 18 'property-5' |
| 19 'property-4', | 19 ]) |
| 20 'property-5' | |
| 21 ]) | |
| 22 @View( | 20 @View( |
| 23 directives: const [ | 21 directives: const [ |
| 24 OtherComponent1, | 22 OtherComponent1, |
| 25 OtherComponent2, | 23 OtherComponent2, |
| 26 OtherComponent3, | 24 OtherComponent3, |
| 27 OtherDirective4, | 25 OtherDirective4, |
| 28 OtherDirective5, | 26 OtherDirective5, |
| 29 OtherDirective6, | 27 OtherDirective6, |
| 30 OtherDirective7, | 28 OtherDirective7, |
| 31 ], | 29 ], |
| (...skipping 14 matching lines...) Expand all Loading... |
| 46 selector: 'my-selector', | 44 selector: 'my-selector', |
| 47 properties: const ['property-1', 'property-2', 'property-3', 'property-4', '
property-5']) | 45 properties: const ['property-1', 'property-2', 'property-3', 'property-4', '
property-5']) |
| 48 @View( | 46 @View( |
| 49 directives: const [OtherComponent1, OtherComponent2, OtherComponent3, OtherD
irective4, OtherDirective5, OtherDirective6, OtherDirective7,], | 47 directives: const [OtherComponent1, OtherComponent2, OtherComponent3, OtherD
irective4, OtherDirective5, OtherDirective6, OtherDirective7,], |
| 50 templateUrl: 'package:path.to.my.amazing.component.library/my_amazing_compon
ent.html', | 48 templateUrl: 'package:path.to.my.amazing.component.library/my_amazing_compon
ent.html', |
| 51 styleUrls: const ['package:path.to.my.amazing.component.library/my_amazing_c
omponent.scss.css']) | 49 styleUrls: const ['package:path.to.my.amazing.component.library/my_amazing_c
omponent.scss.css']) |
| 52 class MyAmazingComponent { | 50 class MyAmazingComponent { |
| 53 var a = [[[1]]]; | 51 var a = [[[1]]]; |
| 54 } | 52 } |
| 55 <<< | 53 <<< |
| 56 @Component( | 54 @Component(selector: 'my-selector', properties: const [ |
| 57 selector: 'my-selector', | 55 'property-1', |
| 58 properties: const [ | 56 'property-2', |
| 59 'property-1', | 57 'property-3', |
| 60 'property-2', | 58 'property-4', |
| 61 'property-3', | 59 'property-5' |
| 62 'property-4', | 60 ]) |
| 63 'property-5' | |
| 64 ]) | |
| 65 @View( | 61 @View( |
| 66 directives: const [ | 62 directives: const [ |
| 67 OtherComponent1, | 63 OtherComponent1, |
| 68 OtherComponent2, | 64 OtherComponent2, |
| 69 OtherComponent3, | 65 OtherComponent3, |
| 70 OtherDirective4, | 66 OtherDirective4, |
| 71 OtherDirective5, | 67 OtherDirective5, |
| 72 OtherDirective6, | 68 OtherDirective6, |
| 73 OtherDirective7, | 69 OtherDirective7, |
| 74 ], | 70 ], |
| 75 templateUrl: | 71 templateUrl: |
| 76 'package:path.to.my.amazing.component.library/my_amazing_component.html'
, | 72 'package:path.to.my.amazing.component.library/my_amazing_component.html'
, |
| 77 styleUrls: const [ | 73 styleUrls: const [ |
| 78 'package:path.to.my.amazing.component.library/my_amazing_component.scss.cs
s' | 74 'package:path.to.my.amazing.component.library/my_amazing_component.scss.cs
s' |
| 79 ]) | 75 ]) |
| 80 class MyAmazingComponent { | 76 class MyAmazingComponent { |
| 81 var a = [ | 77 var a = [ |
| 82 [ | 78 [ |
| 83 [1] | 79 [1] |
| 84 ] | 80 ] |
| 85 ]; | 81 ]; |
| 86 } | 82 } |
| OLD | NEW |