Is it possible to somehow set a name for anonymous functions?
There is no need to add function names to the namespace for anonymous functions but I would like to avo
I normally do: $("object").bind("click" , function name() { alert("x"); });
and don't run into any problems.
Doing so is encouraged in some of the major libraries:
https://groups.google.com/forum/m/#!topic/firebug/MgnlqZ1bzX8
http://blog.getfirebug.com/2011/04/28/naming-anonymous-javascript-functions/