From f7c3e7621c5ec95c56bd1802013cbe4f55da6764 Mon Sep 17 00:00:00 2001 From: Denis Gorbachev Date: Thu, 26 Dec 2013 09:32:29 +0300 Subject: [PATCH 1/2] Update concepts.html --- docs/client/concepts.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/client/concepts.html b/docs/client/concepts.html index 4fb6ffa178..e93cd6b133 100644 --- a/docs/client/concepts.html +++ b/docs/client/concepts.html @@ -558,8 +558,8 @@ database cursor is passed to `#each`, it will wire up all of the machinery to efficiently add and move DOM nodes as new results enter the query. -Helpers can take arguments, and they receive the current template data -in `this`: +Helpers can take arguments, and they receive the current template context data +in `this`. Note that some block helpers change context (notably `each`): // in a JavaScript file Template.players.leagueIs = function (league) { From cc1d47b5c5950e9b40da5c92c7504fa01034af07 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Tue, 7 Jan 2014 16:34:18 -0800 Subject: [PATCH 2/2] Wording tweak. --- docs/client/concepts.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/client/concepts.html b/docs/client/concepts.html index e93cd6b133..0475ddb6e5 100644 --- a/docs/client/concepts.html +++ b/docs/client/concepts.html @@ -559,7 +559,8 @@ machinery to efficiently add and move DOM nodes as new results enter the query. Helpers can take arguments, and they receive the current template context data -in `this`. Note that some block helpers change context (notably `each`): +in `this`. Note that some block helpers change the current context (notably +`each` and `with`): // in a JavaScript file Template.players.leagueIs = function (league) {