This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +10
-14
lines changed
public/docs/_examples/pipes Expand file tree Collapse file tree 5 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 11< a id ="toc "> </ a >
22< h1 > Pipes</ h1 >
3- < a href ="#happy-birthday1 "> Happy Birthday v.1 </ a > < br >
3+ < a href ="#happy-birthday1 "> Happy Birthday v1 </ a > < br >
44< a href ="#birthday-date-pipe "> Birthday DatePipe</ a > < br >
5- < a href ="#happy-birthday2 "> Happy Birthday v.2 </ a > < br >
5+ < a href ="#happy-birthday2 "> Happy Birthday v2 </ a > < br >
66< a href ="#birthday-pipe-chaining "> Birthday Pipe Chaining</ a > < br >
77< a href ="#power-booster "> Power Booster custom pipe</ a > < br >
88< a href ="#power-boost-calc "> Power Boost Calculator custom pipe with params</ a > < br >
@@ -14,7 +14,7 @@ <h1>Pipes</h1>
1414
1515< hr >
1616< a id ="happy-birthday1 "> </ a >
17- < h2 > Hero Birthday v.1 </ h2 >
17+ < h2 > Hero Birthday v1 </ h2 >
1818< hero-birthday > </ hero-birthday >
1919
2020< hr >
@@ -30,7 +30,7 @@ <h2>Birthday DatePipe</h2>
3030
3131< hr >
3232< a id ="happy-birthday2 "> </ a >
33- < h2 > Hero Birthday v.2 </ h2 >
33+ < h2 > Hero Birthday v2 </ h2 >
3434< hero-birthday2 > </ hero-birthday2 >
3535
3636< hr >
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ import 'exponential_strength_pipe.dart';
1212 Super Hero Power: {{power | exponentialStrength: factor}}
1313 </p>
1414 ''' ,
15- pipes: const [ExponentialStrengthPipe ],
16- directives: const [COMMON_DIRECTIVES ])
15+ pipes: const [ExponentialStrengthPipe ])
1716class PowerBoostCalculator {
1817 num power = 5 ;
1918 num factor = 1 ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ dependencies:
1010 dart_to_js_script_rewriter : ^1.0.1
1111transformers :
1212- angular2 :
13- platform_directives : ' package:angular2/src/ common/directives .dart#CORE_DIRECTIVES '
13+ platform_directives : ' package:angular2/common.dart#COMMON_DIRECTIVES '
1414 platform_pipes : ' package:angular2/common.dart#COMMON_PIPES'
1515 entry_points : web/main.dart
1616- dart_to_js_script_rewriter
Original file line number Diff line number Diff line change 88</ head >
99
1010 < body >
11- < h4 > Hero Birthday v.1</ h4 >
12- < hero-birthday > hero-birthday loading...</ hero-birthday >
13-
1411 < my-app > my-app loading ...</ my-app >
1512 </ body >
1613
Original file line number Diff line number Diff line change 11< a id ="toc "> </ a >
22< h1 > Pipes</ h1 >
3- < a href ="#happy-birthday1 "> Happy Birthday v.1 </ a > < br >
3+ < a href ="#happy-birthday1 "> Happy Birthday v1 </ a > < br >
44< a href ="#birthday-date-pipe "> Birthday DatePipe</ a > < br >
5- < a href ="#happy-birthday2 "> Happy Birthday v.2 </ a > < br >
5+ < a href ="#happy-birthday2 "> Happy Birthday v2 </ a > < br >
66< a href ="#birthday-pipe-chaining "> Birthday Pipe Chaining</ a > < br >
77< a href ="#power-booster "> Power Booster custom pipe</ a > < br >
88< a href ="#power-boost-calc "> Power Boost Calculator custom pipe with params</ a > < br >
@@ -14,7 +14,7 @@ <h1>Pipes</h1>
1414
1515< hr >
1616< a id ="happy-birthday1 "> </ a >
17- < h2 > Hero Birthday v.1 </ h2 >
17+ < h2 > Hero Birthday v1 </ h2 >
1818< hero-birthday > </ hero-birthday >
1919
2020< hr >
@@ -30,7 +30,7 @@ <h2>Birthday DatePipe</h2>
3030
3131< hr >
3232< a id ="happy-birthday2 "> </ a >
33- < h2 > Hero Birthday v.2 </ h2 >
33+ < h2 > Hero Birthday v2 </ h2 >
3434< hero-birthday2 > </ hero-birthday2 >
3535
3636< hr >
You can’t perform that action at this time.
0 commit comments