Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // The bestest event-delegator ever!
- jQuery.fn.delegate = function(eType, r) {
- return this.bind(eType, function(e) {var $t = $(e.target); for(var s in r) if($t.is(s)) return r[s].apply(this, arguments)})
- };
Add Comment
Please, Sign In to add comment