I like the option (2).

Could some of you provide a patch for the ticket in the proposed fashion?


Ales


------------------------------------------------------
Ales Zoulek
+420 604 332 515
Jabber: ales.zou...@gmail.com
------------------------------------------------------


On Sat, Feb 20, 2010 at 1:00 PM, David Danier <goliath.mailingl...@gmx.de>wrote:

> > <script type='text/javascript' src='django/jquery.js'></script>
> > <script type='text/javascript'>
> >   var $jQD = jQuery.noConflict();
> > </script>
> >
> > And somebody else includes this:
> >
> > <script type='text/javascript' src='someone-elses/jquery.js'></script>
> >
> > Then Django's version of jQuery would be available to all widgets as
> > $jQD and the other jQuery version would still be available as $ or
> > jQuery.
>
> This kind of sounds nice, but perhaps some sort of django namespace
> could be introduced. Meaning $jQD -> dj.$:
>
> <script type='text/javascript' src='django/jquery.js'></script>
> <script type='text/javascript'>
>   var dj = {};
>  dj.$ = dj.jQuery = jQuery.noConflict(true);
> </script>
>
> Greetings, David Danier
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to django-develop...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.com<django-developers%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-developers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to