Shopify/turbograft — pull request #49 by qq99 (2014-12-09 20:00:38+00:00)
Title: attempt to add proper support for delegated events

Fixes #48 (I hope)

So, turns out it's pretty hard to make a delegated event elegantly in pure JS! I think this is correct. Didn't realize until now just how much `$(document).on(".some-selector", ->)` bought you. Would you like to look this over? I can add some tests after the fact (have been manually testing using the example app)

cc @kurtfunai @celsodantas @nsimmons @patrickdonovan @pushrax