I've started down that road... they're more similar than I originally thought. I know it's blasphemous, but I kinda like some of the jquery syntax (although it seems limited) any pitfalls to watch for while converting?
Regards, dj On Feb 9, 2009, at 7:25 AM, bminihan <[email protected]> wrote: > > If you don't have a lot of Prototype code, and that's within your > control...you should be able to convert your existing prototype code > to jQuery syntax, then get rid of Prototype entirely. We looked at > doing this when we started mixing jQuery into our code, but we had WAY > too much Prototype to make that an easy project. I investigated the > conversion process tho, and it didn't actually look terribly > difficult...I think the Scriptaculous effects required the most syntax > work =] > > Good luck! > > On Feb 6, 3:38 pm, dizzyjay <[email protected]> wrote: >> Thanks- this looks like what I'll need to do. Hopefully the portal >> owner will be accepting of the change. Too bad prototype doesn't >> have >> the same conflict workaround (it would be much easier for me to >> change). >> >> cheers, >> \\dj >> >> On Feb 6, 11:22 am, david <[email protected]> wrote: >> >>> Hi dizzyjay, >> >>> the noConflict function works great, but the problem I think is that >>> you rename the jquery object, so all other developper will have to >>> change there scripts to no use anymore the $ function (by defaul >>> $==jquery). >> >>> some times ago, a protosafe library was developped, but it has >>> stopped .... so I'm not sure there is a way to resolve your problem. >> >>> -- >>> david >> >>> On 6 fév, 00:48, dizzyjay <[email protected]> wrote: >> >>>> Is there a way to resolve this conflict within prototype? My >>>> portal >>>> uses jQuery and I'm the only developer with a preference of >>>> prototype.js. I've tried the jQuery.noConflict() with no luck. I >>>> don't want to abandon my prototype.js skillset for jQuery but it's >>>> looking like I'm the one that needs to find the workaround if I >>>> want >>>> to continue with prototype.js >> >>>> (NOTE: I've also tried the find/replace '$' with '_$' method.... >>>> didn't work- broke a good amount of functionality) >> >>>> thanks in advance >>>> dj- Hide quoted text - >> >>> - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
