[Seaside] Changes to JQuery Instance in latest builds

John Toohey johnptoohey at gmail.com
Thu Mar 4 20:04:00 UTC 2010


Great, that fixed it.

On Thu, Mar 4, 2010 at 02:42, Lukas Renggli <renggli at gmail.com> wrote:
>> I just build a new image with the latest Seaside 3.0 code, and noticed
>> that #on:do: is missing from JQueryInstance. Is this a mistake, or
>> should I be using something else?
>
> Sorry, I had to rename this, because it was inconsistent with the
> jQuery API. The #on:do: was something that I mistakenly copied from
> the Scriptaculous package :-/
>
> It is now called #bind:do:. Similar there is #live:do:, #one:do: and
> #unbind:. If you subscribe to standard DOM event I suggest that you
> use the shortcut methods like #onClick:, #onKeyPress:, etc. See the
> #events protocol in JQueryInstance for details and
> http://api.jquery.com/category/events/.
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
-JT


More information about the seaside mailing list