From f9fd4926ef9237a7d0ed08994cf79bf8d7182fd1 Mon Sep 17 00:00:00 2001 From: gdi2290 Date: Mon, 18 May 2015 02:58:13 -0700 Subject: [PATCH] docs(pipes): fix @View we all copy/pasta ObservablePipe which had the typo Closes #1958 --- modules/angular2/src/change_detection/pipes/lowercase_pipe.ts | 4 ++-- .../angular2/src/change_detection/pipes/observable_pipe.ts | 2 +- modules/angular2/src/change_detection/pipes/promise_pipe.ts | 4 ++-- modules/angular2/src/change_detection/pipes/uppercase_pipe.ts | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/angular2/src/change_detection/pipes/lowercase_pipe.ts b/modules/angular2/src/change_detection/pipes/lowercase_pipe.ts index f785bc3766..9bc37b49a2 100644 --- a/modules/angular2/src/change_detection/pipes/lowercase_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/lowercase_pipe.ts @@ -18,10 +18,10 @@ export var __esModule = true; * selector: "username-cmp" * }) * @View({ - * inline: "Username: {{ user | lowercase }}" + * template: "Username: {{ user | lowercase }}" * }) * class Username { - * user:string; + * user:string; * } * * ``` diff --git a/modules/angular2/src/change_detection/pipes/observable_pipe.ts b/modules/angular2/src/change_detection/pipes/observable_pipe.ts index c699173354..461a635834 100644 --- a/modules/angular2/src/change_detection/pipes/observable_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/observable_pipe.ts @@ -25,7 +25,7 @@ export var __esModule = true; * changeDetection: ON_PUSH * }) * @View({ - * inline: "Task Description {{description|async}}" + * template: "Task Description {{ description | async }}" * }) * class Task { * description:Observable; diff --git a/modules/angular2/src/change_detection/pipes/promise_pipe.ts b/modules/angular2/src/change_detection/pipes/promise_pipe.ts index 5a27f88059..929951ae9d 100644 --- a/modules/angular2/src/change_detection/pipes/promise_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/promise_pipe.ts @@ -23,10 +23,10 @@ export var __esModule = true; * changeDetection: ON_PUSH * }) * @View({ - * inline: "Task Description {{description|async}}" + * template: "Task Description {{ description | async }}" * }) * class Task { - * description:Promise; + * description:Promise; * } * * ``` diff --git a/modules/angular2/src/change_detection/pipes/uppercase_pipe.ts b/modules/angular2/src/change_detection/pipes/uppercase_pipe.ts index 80659fe2e7..c1d62f6867 100644 --- a/modules/angular2/src/change_detection/pipes/uppercase_pipe.ts +++ b/modules/angular2/src/change_detection/pipes/uppercase_pipe.ts @@ -18,10 +18,10 @@ export var __esModule = true; * selector: "username-cmp" * }) * @View({ - * inline: "Username: {{ user | uppercase }}" + * template: "Username: {{ user | uppercase }}" * }) * class Username { - * user:string; + * user:string; * } * * ```