Closed jschr closed 12 years ago
Extending the Special Event API allows more flexibility when binding to the fastClick event such as namespacing and event delegation.
$('.btn').on('fastClick.namespace', function(){ .. });
$('.parent').on('fastClick', '.btn', function(){ ... });
Thanks for the pull request. I'm not familiar with the special event API, but it looks reasonable!
Extending the Special Event API allows more flexibility when binding to the fastClick event such as namespacing and event delegation.
$('.btn').on('fastClick.namespace', function(){ .. });
$('.parent').on('fastClick', '.btn', function(){ ... });