[Phpmyadmin-devel] using $() or jQuery() ?

Marc Delisle marc at infomarc.info
Sat Apr 10 13:41:57 CEST 2010


Michael Keck a écrit :
> Hi Marc,
> 
> to use jQuery() instead of $() may be ok, but you must know,
> that in jQuery UI and other plug-ins for jQuery there is always
> used the $().
> My personal opinion is to use the $(), cause it's the jQuery
> default. Perhaps it would help to leave comment before
> function / jQuery call?

Hi Michael,
yes it would help (if everyone accepts to do it, which I doubt).

> 
> Which other libraries are still used, which are using the $()?
> I think, other libraries should be ported to jQuery.

Porting Mootools calls to jQuery is almost done, I think that only the
import progress bar remains to be done. Any volunteer? :)

> 
> Michael.
> 
> Am 10.04.2010 13:01, schrieb Marc Delisle:
>> Hi,
>>
>> I think we should standardize on one or the other syntax.
>>
>> I like the simplicity of using $() but it would be clearer to always use
>> jQuery(), as many other libraries are using the dollar sign and someone
>> looking at a fragment of our code needs to know immediately which lib is
>> used.
>>
>>   
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel


-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list