real control of jquery callback

real control of jquery callback


hi to all,
i've wrote a little jquery plugin and i think it will be very useful
and it will be a good idea integrate this in jquery core.
it's a very short piece of code and it's about control callback
function setting scope and custom parameters.
if you're interested i've published it on google code (http://
code.google.com/p/jquerycallback/).
it's very simple and not-invasive: its api contains just two methods:
$.callback and $.delegate
in common pattern developers use to create anonymous function to
control parameters ( $("div).click(function(event) { alert
(custom_parameter) }) ) but I think it's not a good idea especially
about code-reusability.
any feedback, critics or ideas for improvement will be very
appreciated :)