This commit is contained in:
David Glasser
2015-07-21 19:00:44 -07:00
parent 72f445b1e9
commit cc80a5fc18

View File

@@ -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.