We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've extended Underscore by mixing in a debounce function from: http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ and used it in conjunction with Backbone.sync to limit calls that may be happening several times because of async actions.
It would be nice to have this function in Underscore. Maybe also the throttling stuff: https://github.com/cowboy/jquery-throttle-debounce/blob/master/jquery.ba-throttle-debounce.js
The text was updated successfully, but these errors were encountered:
Good idea. I've added a _.throttle, and _.debounce, here:
_.throttle
_.debounce
9e3e067
... let me know what you think.
Sorry, something went wrong.
Awesome, can get rid of some code with this.
Works as expected. Thank you for inclusion!
No branches or pull requests
I've extended Underscore by mixing in a debounce function from: http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
and used it in conjunction with Backbone.sync to limit calls that may be happening several times because of async actions.
It would be nice to have this function in Underscore. Maybe also the throttling stuff:
https://github.com/cowboy/jquery-throttle-debounce/blob/master/jquery.ba-throttle-debounce.js
The text was updated successfully, but these errors were encountered: