Add comment to findHelperHostComponent

This commit is contained in:
Emily Stark
2014-06-19 09:40:28 -07:00
parent 86aeec461a
commit 80ee5c19ee

View File

@@ -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) {