th = this.as + "." + path.substring(dot + 1);
row.notifyPath(path, value, true);
} else {
row[this.as] = value;
}
}
}
},
modelForElement: function(el) {
var model;
while (el) {
if (model = el._templateInstance) {
if (model.dataHost != this) {
el = model.dataHost;
} else {
return model;
}
} else {
el = el.parentNode;
}
}
},
itemForElement: function(el) {
var instance = this.modelForElement(el);
return instance && instance[this.as];
},
keyForElement: function(el) {
var instance = this.modelForElement(el);
ret