> Anyway I can see your argument about how an exists() function would  
> be redundant. jQuery has a lot of convenience wrappers for things,  
> but $.fn.exists = function(){return !!this.length}; would be the  
> smallest and least functional one. Same is almost true for hasClass  
> (return this.is('.'+class));. This is where you can convince me  
> with a rational/scientific argument that those functions aren't  
> needed. However, as you said this library is more then just code,  
> it's art. And this is why I'm emphasizing those new functions: They  
> empower the artist (who does not read the complete docs before  
> getting started) and don't hurt the scientists ....

There could be a "jConvenient" plugin then that would add convenient  
wrapper such as "exists" or "hasClass".

I'm not sure it should contain "makeCoffee" through... ;-)


-Nicolas

-- 
Nicolas "Brush" HOIZEY
Clever Age   : http://www.clever-age.com/
Gastero Prod : http://www.gasteroprod.com/
Photos : http://www.flickr.com/gp/[EMAIL PROTECTED]/M1c002


Reply via email to