From: "Dan Webb" <d...@danwebb.net>
Date: Thu, 31 Jan 2008 00:31:14 +0000
Local: Thurs 31 Jan 2008 00:31
Subject: Re: Prototype + lowpro vs. JQuery
> initEvents({ Yeah, well, I've not ported any of that Low Pro at all. I figure that > 'a.alert_hello_world:click': function(event){ > alert("Hello World!"); event.preventDefault(); > 'p.hide_myself:click': function() { what you already get: jQuery(function($) { }); ...is just as clean as Event.addBehavior. I've basically just brought across the behavior classes part. > Chris from Err the blog, mentioned that he was excited about seeing LowPro part. We need to differenciate which methods are intended to catch events and which are just normal methods. If we do this then behavior classes can catch custom events as well which is a very good thing. > I'm personally really excited, especially with the new Merb release coming that what behavior classes do can and is currently done using plugins: $('input').attach(DatePicker); could be done as: $('input').attachDatePicker(); However, I think behavior classes have advantages over this method on 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.
| ||||||||||||||