jquery-debounce is a jQuery plugin that allows you to easily debounce event callbacks.
$.fn.debounce(event, callback, delay);
$("#foo").debounce("click", function() { }, 500);
- Debounce the click event on #foo for 500 milliseconds
Running the test suite requires RubyGems and the Bundler gem.
To run the tests run rake jasmine