mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix typo
This commit is contained in:
@@ -258,7 +258,7 @@ Note that the above two points interact in a way that can be surprising!
|
||||
If `foo` is a template helper function that returns another template, then
|
||||
`{{>foo bar}}` will _first_ push `bar` onto the data context stack _then_ call
|
||||
`foo()`, due to the way this line is expanded as shown above. You will need to
|
||||
use `Template.parentObject(1)` to access the original context. This differs
|
||||
use `Template.parentData(1)` to access the original context. This differs
|
||||
from regular helper calls like `{{foo bar}}`, in which `bar` is passed as a
|
||||
parameter rather than pushed onto the data context stack.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user