parent
127d6b6441
commit
9c63a471bb
@ -101,7 +101,7 @@ export class XHRConnection implements Connection {
|
|||||||
* })
|
* })
|
||||||
* class MyComponent {
|
* class MyComponent {
|
||||||
* constructor(http:Http) {
|
* constructor(http:Http) {
|
||||||
* http('people.json').subscribe(res => this.people = res.json());
|
* http.request('people.json').subscribe(res => this.people = res.json());
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user