fn.js
fn.js copied to clipboard
Make throttle and debounce configurable
Currently fn.throttle and fn.debounce invoke their handlers after the timer. Make it so this can be configured via options similar to other libraries.
I don't quite understand what this issue is. Normally I prefer distinctly named functions over configuration. If you have any expansions on this point i'd like to hear them or I will probably close this issue.
This was based merely on the configuration of underscore:
http://underscorejs.org/#throttle http://underscorejs.org/#debounce