Created
September 24, 2016 11:37
-
-
Save JoeSz/35b63e71078b1ee42c7259685a2c94dd to your computer and use it in GitHub Desktop.
JavaScript debounce function minfied and compressed version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function debounce(a,b,c){var d;return function(){var e=this,f=arguments,g=function(){d=null,c||a.apply(e,f)},h=c&&!d;clearTimeout(d),d=setTimeout(g,b),h&&a.apply(e,f)}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment