vigetlabs / washi

A simple, backbone inspired view helper.
http://vigetlabs.github.io/washi/docs/washi
MIT License
5 stars 2 forks source link

jQuery-less Event Delegation #13

Closed cwmanning closed 9 years ago

cwmanning commented 9 years ago

Ran into an issue with events not bubbling. From what I can tell, this is a good place to start: https://github.com/vigetlabs/washi/blob/master/src/delegate.js#L16. If the target element doesn't match (a user clicked a child of the target element), the callback never fires.

I looked into dom-event and it appears this is a known issue/feature request for them: https://github.com/npm-dom/dom-event/issues/1. https://github.com/ftlabs/ftdomdelegate might be one possible solution to bolt on here.

nhunzaker commented 9 years ago

So this should be working.... I'm on the case. Current status:

screen shot 2014-11-20 at 8 43 01 am

nhunzaker commented 9 years ago

Try 6931830