On Apr 29, 2013, at 8:54 AM, Alastair Young <alastair.yo...@gmail.com> wrote:
> I need to move my code (Prototype 1.7.1) into someone else's much larger > project using jQuery v1.5.1. > > Can I load Prototype in no-conflict mode ? I can't change any of the jQuery > stuff. Not as far as I know. The issue as I understand it is that Prototype extends the (lower-case) prototype of a number of JS primitives, and these extensions are an issue for jquery, over and above the simple name collision between $ in both libraries. Can you modify the HTML? You may be able to inject the jquery noConflict() function call in between the link to jquery and the subsequent links to various scripts and plugins that rely on it. That still won't fix things if those scripts are written in a style that doesn't expect to be in the presence of noConflict, though. Walter > > Thanks > > -alastair > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to prototype-scriptaculous+unsubscr...@googlegroups.com. > To post to this group, send email to prototype-scriptaculous@googlegroups.com. > Visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to prototype-scriptaculous+unsubscr...@googlegroups.com. To post to this group, send email to prototype-scriptaculous@googlegroups.com. Visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. For more options, visit https://groups.google.com/groups/opt_out.