docs(http.ts): Fix MockBackend examples using backend.connections observer
Properly format observer examples.
This commit is contained in:
parent
aa8c5aa2e2
commit
5e9daed2e8
|
@ -141,6 +141,7 @@ export {URLSearchParams} from './src/http/url_search_params';
|
|||
* // Send a response to the request
|
||||
* connection.mockRespond(response);
|
||||
* });
|
||||
* }
|
||||
* });
|
||||
*
|
||||
* http.get('people.json').observer({
|
||||
|
@ -269,6 +270,7 @@ export const HTTP_BINDINGS = HTTP_PROVIDERS;
|
|||
* // Send a response to the request
|
||||
* connection.mockRespond(response);
|
||||
* });
|
||||
* }
|
||||
* });
|
||||
|
||||
* jsonp.get('people.json').observer({
|
||||
|
|
Loading…
Reference in New Issue