Message from discussion
Prototype + lowpro vs. JQuery
MIME-Version: 1.0
Message-ID: <706acb90-19c8-4dc1-a05d-bdb87d568484@d4g2000prg.googlegroups.com>
Date: Wed, 30 Jan 2008 17:38:27 -0800 (PST)
Received: by 10.100.164.10 with SMTP id m10mr499329ane.3.1201743507219; Wed,
30 Jan 2008 17:38:27 -0800 (PST)
In-Reply-To: <5b3e279f0801301646i209499anbf3be3790bc3163d@mail.gmail.com>
X-IP: 68.93.98.200
References: <102c1a64-c792-46f5-95d0-202ce9fdbe3c@j78g2000hsd.googlegroups.com>
<5b3e279f0801260204o7e8ecb37qd6c994c071274fad@mail.gmail.com>
<5b3e279f0801260630i58a84ef2u336f161f17d78ab6@mail.gmail.com>
<7438eebe0801261609g59af8c07hbe6f6e59256e0550@mail.gmail.com>
<b10d3fec-14ec-4eda-a57c-c82af44cc998@c23g2000hsa.googlegroups.com>
<5b3e279f0801280253l624c333avfc9f8d128f7055ff@mail.gmail.com>
<d667e999-d057-46a2-868f-236240f24d05@j78g2000hsd.googlegroups.com>
<5b3e279f0801280727r2a307962mf6955a96d12ca0bf@mail.gmail.com>
<f58d8dcb0801301555t268f7fa0gcc7438856abaea49@mail.gmail.com>
<5b3e279f0801301631s159a4398hec1c474b1bf6f745@mail.gmail.com>
<5b3e279f0801301646i209499anbf3be3790bc3163d@mail.gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.4)
Gecko/20070509 Camino/1.5,gzip(gfe),gzip(gfe)
Subject: Re: Prototype + lowpro vs. JQuery
From: Brandon Aaron <brandon.aa...@gmail.com>
To: Low Pro <low-pro@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
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