Closed mfmpittau closed 11 years ago
The typeof refers to fn instead of callback:
if (typeof fn === 'function') { callback(response); }
It would be nice to get back in the callback, also the element that triggered the event
if (typeof callback === 'function') { callback(response, event.target); }
Indeed, I've incorporated your change. It will be able in 0.4.7 released next week.
Thanks!
The typeof refers to fn instead of callback:
It would be nice to get back in the callback, also the element that triggered the event