fn.js icon indicating copy to clipboard operation
fn.js copied to clipboard

Make throttle and debounce configurable

Open eliperelman opened this issue 11 years ago • 2 comments

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.

eliperelman avatar Jan 24 '14 19:01 eliperelman

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.

CrowdHailer avatar Jan 09 '16 17:01 CrowdHailer

This was based merely on the configuration of underscore:

http://underscorejs.org/#throttle http://underscorejs.org/#debounce

eliperelman avatar Jan 09 '16 17:01 eliperelman