fix(pipes): add triple ticks around async_pipe code sample
Closes #4110
This commit is contained in:
parent
267121ee17
commit
7b3161a229
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue