Skip to content

Commit 7b3161a

Browse files
committed
fix(pipes): add triple ticks around async_pipe code sample
Closes angular#4110
1 parent 267121e commit 7b3161a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/angular2/src/core/pipes/async_pipe.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ var _observableStrategy = new ObservableStrategy();
4444
* The example below binds the `time` Observable to the view. Every 500ms, the `time` Observable
4545
* updates the view with the current time.
4646
*
47+
* ```
4748
* import {Observable} from 'angular2/core';
4849
* @Component({
4950
* selector: "task-cmp"
@@ -57,6 +58,7 @@ var _observableStrategy = new ObservableStrategy();
5758
* observer.next(new Date().getTime()), 500);
5859
* });
5960
* }
61+
* ```
6062
*/
6163
@Pipe({name: 'async', pure: false})
6264
@Injectable()

0 commit comments

Comments
 (0)