How do you pass a named function with parameters without calling it.
Right now the only solution I have seems like a hack but it is to pass an unnamed function that will call the named function.
callback(function(){foo(params);})
Is there a better way of doing this?