From: "Dan Webb" <d...@danwebb.net>
Date: Sat, 26 Jan 2008 14:30:11 +0000
Local: Sat 26 Jan 2008 14:30
Subject: Re: Prototype + lowpro vs. JQuery
On 1/26/08, Dan Webb <d...@danwebb.net> wrote:
> I'll see what I can put together. We'll I've made a start and I must stay it works really nicely with jQuery. http://svn.danwebb.net/external/lowpro-jq/trunk Warning: I've literally just bashed this out so its not ready for http://svn.danwebb.net/external/lowpro-jq/trunk/test/test.html But the rundown is... Create a behavior as a class: Testy = $.klass({ }); Btw, $.klass is a full port of the Prototype Class.create stuff so you get that as a bonus and can use all the inheritance stuff in the same way. Then attach it on ready in the jQuery way: jQuery(function($) { }); And that's it. Works the same for this point on. Another little bonus is that if you are running livequery it does some So, I think it needs some more bashing (and some unit tests) and I What do ya'll think? After sitting and coding it Im actually really Cheers, Dan -- aim: danwrong123 You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||