Go to Google Groups Home    Low Pro
Re: Prototype + lowpro vs. JQuery

Brandon Aaron <brandon.aa...@gmail.com>

This is awesome! I love the way you've implemented behaviors as
classes. This is going to be very useful.

I'm not sure if you know this or not but in jQuery 1.2.2 we added what
I call "special events". Not sure if it will benefit the port of Low
Pro or not. If your not familiar with them it allows you to handle an
event in a ... well ... special way. It isn't documented yet but for
an example of the special events "api" check out the
$.event.special.mouseenter and $.event.special.mouseleave (http://
dev.jquery.com/browser/trunk/jquery/src/event.js#L343).

After a quick glance over the code it looks like you are missing a
return statement on line 10. I'm going to play around with this as
soon as I get the chance.

--
Brandon Aaron

On 30 Jan, 18:46, "Dan Webb" <d...@danwebb.net> wrote:

> Just written some rambling crap on my blog about it all :)

> > However, I think behavior classes have advantages over this method on
> > accounts that they are actual classes that you can inherit from and
> > augment yourself.  The only way you can customise plugins is to crack
> > open the source and change it which is never ideal.

> --
> Dan Webbhttp://www.danwebb.net

> aim: danwrong123
> skype: danwrong