I think it would be worth it to change all internals of jQuery to not
use $. Essentially it is just a find and replace ... the issue is
getting plugins to do it. I think the next release should force the
issue.
--
Brandon Aaron
On 10/6/06, Laurent Yaish <[EMAIL PROTECTED]> wrote:
> The jQuery code itself uses $
>
> toggle: function(){
> $(this)[ $(this).is(":hidden") ? "show" :
> "hide" ].apply( $(this),
> arguments );
> },
>
> The $ is great for the end user, but it is a very generic alias. I
> don't think it is a good idea for jQuery or plugins to use it
> internally. But it might already be too late to change this...
>
> Thanks
>
> Laurent
>
> On 10/6/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote:
> >
> > -------- Original-Nachricht --------
> > Datum: Fri, 6 Oct 2006 08:12:51 -0700
> > Von: "Laurent Yaish" <[EMAIL PROTECTED]>
> > An: [email protected]
> > Betreff: [jQuery] jQuery and Prototype
> >
> > > Hi Folks,
> > >
> > > First of all thank you John for writing jQuery. I've read the wiki page
> > > regarding using jQuery and prototype together and couldn't get it to work
> > > reliably. I did load prototype first but ended up going through the
> > > jQuery source code
> > > and renamed $() to JQ().
> > > It would be kind of cool if the $ function could be renamed via a
> > > configuration setting
> >
> > It should be enough to change this line: var $ = jQuery; to something else,
> > like var JQ = jQuery.
> >
> > But this won't solve the problem that most plugins use the $ alias instead
> > of jQuery.
> >
> > -- Jörn
> >
> > PS: http://jquery.com/dev/bugs/bug/253/
> > --
> > GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
> > NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
> >
> > _______________________________________________
> > jQuery mailing list
> > [email protected]
> > http://jquery.com/discuss/
> >
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/