mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Add comment to findHelperHostComponent
This commit is contained in:
@@ -206,6 +206,9 @@ findComponentWithProp = function (id, comp) {
|
||||
return null;
|
||||
};
|
||||
|
||||
// Look up the component's chain of parents until we find one with
|
||||
// `__helperHost` set (a component that can have helpers defined on it,
|
||||
// i.e. a template).
|
||||
var findHelperHostComponent = function (comp) {
|
||||
while (comp) {
|
||||
if (comp.__helperHost) {
|
||||
|
||||
Reference in New Issue
Block a user