docs(http) remove .toRx() from http calls

Closes #4578
This commit is contained in:
Eric Mendes Dantas
2015-10-07 07:41:27 -03:00
parent 04b3dee667
commit 21b53c3143
5 changed files with 11 additions and 11 deletions

View File

@ -69,7 +69,7 @@ export {URLSearchParams} from './src/http/url_search_params';
* export class App {
* people: Object[];
* constructor(http:Http) {
* http.get('people.json').toRx().subscribe(res => {
* http.get('people.json').subscribe(res => {
* this.people = res.json();
* });
* }
@ -195,7 +195,7 @@ export const HTTP_BINDINGS: any[] = [
* export class App {
* people: Array<Object>;
* constructor(jsonp:Jsonp) {
* jsonp.request('people.json').toRx().subscribe(res => {
* jsonp.request('people.json').subscribe(res => {
* this.people = res.json();
* })
* }