From 61e514bf776da4177469c48d1627bff0dbdcf7d7 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Tue, 27 Oct 2015 16:00:41 -0700 Subject: [PATCH] docs(Http): fix parameter name closes #4613 --- modules/angular2/src/http/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/angular2/src/http/http.ts b/modules/angular2/src/http/http.ts index 072cb3e088..cd7ea02141 100644 --- a/modules/angular2/src/http/http.ts +++ b/modules/angular2/src/http/http.ts @@ -61,7 +61,7 @@ function mergeOptions(defaultOpts, providedOpts, method, url): RequestOptions { * ### Example * * ``` - * http.get('people.json').observer({next: (value) => this.people = people}); + * http.get('people.json').observer({next: (value) => this.people = value}); * ``` * * The default construct used to perform requests, `XMLHttpRequest`, is abstracted as a "Backend" (