Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 6e2a944

Browse files
committed
fix platform_directives reference; html cleanup
1 parent fba90f9 commit 6e2a944

File tree

5 files changed

+10
-14
lines changed

5 files changed

+10
-14
lines changed

public/docs/_examples/pipes/dart/lib/app_component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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>

public/docs/_examples/pipes/dart/lib/power_boost_calculator_component.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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])
1716
class PowerBoostCalculator {
1817
num power = 5;
1918
num factor = 1;

public/docs/_examples/pipes/dart/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies:
1010
dart_to_js_script_rewriter: ^1.0.1
1111
transformers:
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

public/docs/_examples/pipes/dart/web/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
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

public/docs/_examples/pipes/ts/app/app.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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>

0 commit comments

Comments
 (0)