Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more flexible so can change from grail.findAll to a different selecto…

…r engine simply by overriding only maria.ElementView.prototype.findAll
  • Loading branch information...
commit 18a5e5f4fa4e2a7883d42ff13aff26fa62bc9f93 1 parent 2490a27
Peter Michaux authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/ElementView.js
2  src/ElementView.js
View
@@ -224,7 +224,7 @@ maria.ElementView.prototype.buildTemplate = function() {
eventType = matches[1],
selector = matches[2],
methodName = uiActions[key],
- elements = maria.findAll(selector, this._rootEl);
+ elements = this.findAll(selector, this._rootEl);
for (var i = 0, ilen = elements.length; i < ilen; i++) {
maria.addEventListener(elements[i], eventType, this, methodName);
}
Please sign in to comment.
Something went wrong with that request. Please try again.