Created
October 9, 2014 01:14
-
-
Save greg5green/9d0fb9161abfbeffa894 to your computer and use it in GitHub Desktop.
Lo-Dash Debounce Example
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 resizeFunction() { | |
// code here | |
} | |
$(window).on('resize', _.debounce(resizeFunction, 100)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment