+1 on Prototype.noconflict

I wonder if there was .noconflict option - would it be possible to use
two prototype versions on the same page? (need for old legacy code in
new layout)


On Nov 30, 2:01 pm, Rafal Zarajczyk <rzarajc...@gmail.com> wrote:
> As far as I know there is no such thing in prototype, but definitely
> it would be usefull sometimes! When I need a single method from
> Prototype in a jQuery-driven site (let's say I want to use unescapeHTML
> ()) I just copy-paste implementation... which is sometimes easy,
> sometimes hard.
>
> I'm looking forward to this feature!
>
> Rafał Zarajczyk
>
> Ps. The solution "switch everything do Prototype" is not always
> possible :-P
>
> On 24 Lis, 14:58, markojakic <jakicmeis...@gmail.com> wrote:
>
>
>
> > I am working on some site, which has jquery support, but I added
> > Prototype (autocomplete component with xml loading) and it's not
> > working when JQuery is loaded.
> > I know that JQuery has that support with JQuery.noconflictbut it's
> > hard to change ALL the .js files and ALL the $ functions.
> > So, does Prototype have such support? I'd only need to change a little
> > one .js file which handles with autocompleter.
>
> > Regards

--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


Reply via email to