fix(pipes): add triple ticks around async_pipe code sample

Closes #4110
This commit is contained in:
Jeff Cross 2015-09-09 21:49:35 -07:00
parent 267121ee17
commit 7b3161a229
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ var _observableStrategy = new ObservableStrategy();
* The example below binds the `time` Observable to the view. Every 500ms, the `time` Observable
* updates the view with the current time.
*
* ```
* import {Observable} from 'angular2/core';
* @Component({
* selector: "task-cmp"
@ -57,6 +58,7 @@ var _observableStrategy = new ObservableStrategy();
* observer.next(new Date().getTime()), 500);
* });
* }
* ```
*/
@Pipe({name: 'async', pure: false})
@Injectable()