[Proto-Scripty] Re: Prototype conflict solution
> 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) Unfortunately not, because of native object extensions. -- 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.
[Proto-Scripty] Re: Prototype conflict solution
+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 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 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.
Re: [Proto-Scripty] Re: Prototype conflict solution
Wow, I'm flattered... I was beginning to think that GenevaJS amounted to nothing more then a novelty :D Keep in mind that GenevaJS is not 100% yet, but if you do use it and come across broken or missing methods, you can certainly contribute Rick On Wed, Dec 2, 2009 at 7:43 AM, david wrote: > Sorry, > > Should read " ... GenevaJS, a port of jquery syntax using prototype at > http://genevajs.com/ " > > -- > david > > On 2 déc, 13:42, david wrote: > > Hi both, > > > > What is funny with the JQuery compatibility mode is that it breaks > > plugin, and standard JQuery code. > > What I propose is a different approach, suppress Jquery, and only use > > Prototype with GenevaJS, a port of jquery using prototype athttp:// > genevajs.com/ > > > > btw, it's not as simple. > > > > -- > > david > > > > On 30 nov, 13:01, Rafal Zarajczyk 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 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.noconflict but 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. > > > -- 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.
[Proto-Scripty] Re: Prototype conflict solution
Sorry, Should read " ... GenevaJS, a port of jquery syntax using prototype at http://genevajs.com/ " -- david On 2 déc, 13:42, david wrote: > Hi both, > > What is funny with the JQuery compatibility mode is that it breaks > plugin, and standard JQuery code. > What I propose is a different approach, suppress Jquery, and only use > Prototype with GenevaJS, a port of jquery using prototype > athttp://genevajs.com/ > > btw, it's not as simple. > > -- > david > > On 30 nov, 13:01, Rafal Zarajczyk 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 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.noconflict but 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.
[Proto-Scripty] Re: Prototype conflict solution
Hi both, What is funny with the JQuery compatibility mode is that it breaks plugin, and standard JQuery code. What I propose is a different approach, suppress Jquery, and only use Prototype with GenevaJS, a port of jquery using prototype at http://genevajs.com/ btw, it's not as simple. -- david On 30 nov, 13:01, Rafal Zarajczyk 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 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.noconflict but 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.
[Proto-Scripty] Re: Prototype conflict solution
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 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.noconflict but 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.