docs(server-communication): Modify file name 'rxjs-operators'

Modify file name 'add-rxjs-operators.ts' to 'rxjs-operators.ts', according to real file name.
Ref: https://angular.io/resources/live-examples/server-communication/ts/plnkr.html
This commit is contained in:
NFM 2016-05-21 10:10:17 +09:00 committed by Ward Bell
parent e188e472f1
commit 5a91b5442b
1 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ block rxjs
because the full library is so big. We only use a few operators in our app. because the full library is so big. We only use a few operators in our app.
Instead, we'll import each `Observable` operator and static class method, one-by-one, until we have a custom *Observable* implementation tuned Instead, we'll import each `Observable` operator and static class method, one-by-one, until we have a custom *Observable* implementation tuned
precisely to our requirements. We'll put the `import` statements in one `app/add-rxjs-operators.ts` file. precisely to our requirements. We'll put the `import` statements in one `app/rxjs-operators.ts` file.
+makeExample('server-communication/ts/app/rxjs-operators.ts', null, 'app/rxjs-operators.ts')(format=".") +makeExample('server-communication/ts/app/rxjs-operators.ts', null, 'app/rxjs-operators.ts')(format=".")
:marked :marked
If we forget an operator, the TypeScript compiler will warn that it's missing and we'll update this file. If we forget an operator, the TypeScript compiler will warn that it's missing and we'll update this file.
@ -632,7 +632,7 @@ block wikipedia-jsonp+
.l-sub-section .l-sub-section
:marked :marked
We added the `debounceTime`, `distinctUntilChanged`, and `switchMap` operators to the RxJS `Observable` class We added the `debounceTime`, `distinctUntilChanged`, and `switchMap` operators to the RxJS `Observable` class
in `add-rxjs-operators` as [described above](#rxjs) in `rxjs-operators` as [described above](#rxjs)
a#in-mem-web-api a#in-mem-web-api
.l-main-section .l-main-section