Skip to content

Commit 06f0d6c

Browse files
jeffbcrossIgorMinar
authored andcommitted
docs(pipe_transform): make example headers consistent
1 parent d276370 commit 06f0d6c

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

modules/angular2/src/core/change_detection/pipe_transform.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* `value | pipeName[:arg0[:arg1...]]`
1010
*
11-
* ## Example
11+
* ### Example ([live demo](http://plnkr.co/edit/f5oyIked9M2cKzvZNKHV?p=preview))
1212
*
1313
* The `RepeatPipe` below repeats the value as many times as indicated by the first argument:
1414
*
@@ -29,8 +29,6 @@
2929
*
3030
* Invoking `{{ 'ok' | repeat:3 }}` in a template produces `okokok`.
3131
*
32-
* See full working example: http://plnkr.co/edit/f5oyIked9M2cKzvZNKHV?p=preview
33-
*
3432
*/
3533
export interface PipeTransform { transform(value: any, args: any[]): any; }
3634

@@ -42,7 +40,7 @@ export interface PipeTransform { transform(value: any, args: any[]): any; }
4240
* a binding is destroyed. For example, a subscription to a stream of data may need to
4341
* be disposed, or an interval may need to be cleared.
4442
*
45-
* ## Example
43+
* ### Example ([live demo](http://plnkr.co/edit/hlaejwQAmWayxwc5YXQE?p=preview))
4644
*
4745
* In this example, a pipe is created to countdown its input value, updating it every
4846
* 50ms. Because it maintains an internal interval, it automatically clears
@@ -82,6 +80,5 @@ export interface PipeTransform { transform(value: any, args: any[]): any; }
8280
* Invoking `{{ 10000 | countdown }}` would cause the value to be decremented by 50,
8381
* every 50ms, until it reaches 0.
8482
*
85-
* See full working example: http://plnkr.co/edit/hlaejwQAmWayxwc5YXQE?p=preview
8683
*/
8784
export interface PipeOnDestroy { onDestroy(): void; }

0 commit comments

Comments
 (0)