I\'ve got a function which takes in some arguments. But usage of underscore debounce is :
var lazyLayout = _.debounce(calculateLayout, 300);
Bu
You should be able to just use an anonymous function as the first argument, then call whatever you like in it:
_.debounce(function(){ calculateLayout(20, 30); }, 300);