tenListeners: function(listeners) {
var node, name, key;
for (key in listeners) {
if (key.indexOf(".") < 0) {
node = this;
name = key;
} else {
name = key.split(".");
node = this.$[name[0]];
name = name[1];
}
this.listen(node, name, listeners[key]);
}
},
listen: function(node, eventName, methodName) {
this._listen(node, eventName, this._createEventHandler(node, eventName, methodName));
},
_createEventHandler: function(node, eventName, methodName) {
var host = this;
return function(e) {
if (host[methodName])