mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge branch 'pr/1711' into devel
This commit is contained in:
@@ -558,8 +558,9 @@ 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 the current context (notably
|
||||
`each` and `with`):
|
||||
|
||||
// in a JavaScript file
|
||||
Template.players.leagueIs = function (league) {
|
||||
|
||||
Reference in New Issue
Block a user