Skip to content

Commit f9fd492

Browse files
PatrickJSmhevery
authored andcommitted
docs(pipes): fix @view
we all copy/pasta ObservablePipe which had the typo Closes angular#1958
1 parent 9860382 commit f9fd492

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

modules/angular2/src/change_detection/pipes/lowercase_pipe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ export var __esModule = true;
1818
* selector: "username-cmp"
1919
* })
2020
* @View({
21-
* inline: "Username: {{ user | lowercase }}"
21+
* template: "Username: {{ user | lowercase }}"
2222
* })
2323
* class Username {
24-
* user:string;
24+
* user:string;
2525
* }
2626
*
2727
* ```

modules/angular2/src/change_detection/pipes/observable_pipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export var __esModule = true;
2525
* changeDetection: ON_PUSH
2626
* })
2727
* @View({
28-
* inline: "Task Description {{description|async}}"
28+
* template: "Task Description {{ description | async }}"
2929
* })
3030
* class Task {
3131
* description:Observable<string>;

modules/angular2/src/change_detection/pipes/promise_pipe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ export var __esModule = true;
2323
* changeDetection: ON_PUSH
2424
* })
2525
* @View({
26-
* inline: "Task Description {{description|async}}"
26+
* template: "Task Description {{ description | async }}"
2727
* })
2828
* class Task {
29-
* description:Promise<string>;
29+
* description:Promise<string>;
3030
* }
3131
*
3232
* ```

modules/angular2/src/change_detection/pipes/uppercase_pipe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ export var __esModule = true;
1818
* selector: "username-cmp"
1919
* })
2020
* @View({
21-
* inline: "Username: {{ user | uppercase }}"
21+
* template: "Username: {{ user | uppercase }}"
2222
* })
2323
* class Username {
24-
* user:string;
24+
* user:string;
2525
* }
2626
*
2727
* ```

0 commit comments

Comments
 (0)