Permalink
Browse files

Added missing var statement for variable 'parent'

  • Loading branch information...
jawj committed Aug 12, 2011
1 parent ec92ef3 commit a1c7e807a6ea5d964176a04451ed40fe5352744c
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/core/event.js
View
@@ -49,7 +49,7 @@
*/
delegateEvent: function(map, includeAncestors) {
return function(element, evnt) {
- var target = evnt.getTarget(), candidate;
+ var target = evnt.getTarget(), candidate, parent;
for (var selector in map) {
if (!target.matches(selector) && !includeAncestors) continue;
candidate = target;

0 comments on commit a1c7e80

Please sign in to comment.