Sha256: 829bd762ae01c39d77aa9cc54ce11d831541163c8ae87819f0fd075137ff5b51
Contents?: true
Size: 392 Bytes
Versions: 4
Compression:
Stored size: 392 Bytes
Contents
IQVOC.debounce = (function ($) { var debounce = function(fn, delay) { var timer; return function() { var self = this; var args = arguments; if(timer) { clearTimeout(timer); timer = null; } timer = setTimeout(function() { fn.apply(self, args); timer = null; }, delay); }; }; return debounce; }(jQuery));
Version data entries
4 entries across 4 versions & 1 rubygems