On 11/27/06, Andrea Ercolino <[EMAIL PROTECTED]> wrote:
> I hope the event shortcuts will remain, like click( handler ) to bind and
> click() to trigger.
They will stick around but in a compatibility plugin.
> As for the bind style, I think the handler should always be the last
> argument, because to me it's cleaner this:
>
> $( "div" ).bind( "click", {amount: 1}, function() {
> doClick();
> } );
>
> than this:
>
> $( "div" ).bind( "click", function() {
> doClick();
> }, {amount: 1} );
I would disagree. It would cause more code in the core and more
confusion. It is pretty universal across libraries and browser that
the paramater order goes: type, method.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/