|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
MooTools $events expando workaroundThere was a recent flurry of emails on the list discussing a conflict with the use of MooTools in conjunction with jQuery. When MooTools released v1.1, they renamed their events expando to $events, thus conflicting instantly with jQuery. Well, Brazilian developer Alexandre Magno (http://blog.alexandremagno.net/) came up with a novel and quite simple solution to get around this issue; rename the $event expando in Mootools! "I found a solution that works perfectly. Im the live example that we need sometimes to use the both frameworks. Im develop all my projects in jQuery, cause I learn more easily and feel more comfotable with it. Nothing to do with Mootools, with is a beatiful framework too... But I need the fancy upload to work and is just possible with Mootools, I make everything, but doesnt work because the conflict with the variable $event. I solve this issue by getting the mootools download with no compression, use a software like aptana, dreamweaver, or even notepad to replace all ocurrences of $event to $event2 for example, and compress the libraty after it. This way, the two frameworks works perfectly, since the use of jquery with noConflit its configured. I hope this works and soon I will develop this fancy upload for jquery to dont have to use both. Its a shame for the mootools team wait to Jquery solve this problem that noboby its blame... its just convention... why just simple replace $event for $mootoolsEvent or $mooEvent for example??? Somethimes its necessary use both, no doubt.."" This was posted in the MooTools forum in response to a post where John & I were trying to resolve an integration problem for a MooTools user who wanted to use MooTools and jQuery together. We realize that its unrealistic to expect that developers are going to use just one library and the team goes to great lengths to ensure some level of interoperability between other libraries via noConflict(). In jQuery v1.2, we take that a step further by allowing the renaming of the events expando to whatever you would like, thus avoiding any conflict. While this was not a bug in jQuery, we feel strongly about allowing developers to leverage the tools that they need to do their work and we never want jQuery to be a bottleneck. Thank you John & the jQuery team for continuing to make jQuery such a flexible solution and thank you Alexandre for expanding jQuery's reach to Brazil and offering up this great workaround. Rey... |
|
|
Re: MooTools $events expando workaroundthanks ray for the oportunity and I would like to say that the jQuery in Brazil is well represented. Im glad to help the jQuery team with this issue and I hope help even more. Congratulations for you and all jQuery team. On 30 ago, 18:05, Rey Bango <r...@...> wrote: > There was a recent flurry of emails on the list discussing a conflict > with the use of MooTools in conjunction with jQuery. When MooTools > released v1.1, they renamed their events expando to $events, thus > conflicting instantly with jQuery. > > Well, Brazilian developer Alexandre Magno > (http://blog.alexandremagno.net/) came up with a novel and quite simple > solution to get around this issue; rename the $event expando in Mootools! > > "I found a solution that works perfectly. Im the live example that we > need sometimes to use the both frameworks. Im develop all my projects in > jQuery, cause I learn more easily and feel more comfotable with it. > Nothing to do with Mootools, with is a beatiful framework too... But I > need the fancy upload to work and is just possible with Mootools, I make > everything, but doesnt work because the conflict with the variable > $event. I solve this issue by getting the mootools download with no > compression, use a software like aptana, dreamweaver, or even notepad to > replace all ocurrences of $event to $event2 for example, and compress > the libraty after it. This way, the two frameworks works perfectly, > since the use of jquery with noConflit its configured. I hope this works > and soon I will develop this fancy upload for jquery to dont have to use > both. Its a shame for the mootools team wait to Jquery solve this > problem that noboby its blame... its just convention... why just simple > replace $event for $mootoolsEvent or $mooEvent for example??? Somethimes > its necessary use both, no doubt.."" > > This was posted in the MooTools forum in response to a post where John & > I were trying to resolve an integration problem for a MooTools user > who wanted to use MooTools and jQuery together. We realize that its > unrealistic to expect that developers are going to use just one library > and the team goes to great lengths to ensure some level of > interoperability between other libraries via noConflict(). In jQuery > v1.2, we take that a step further by allowing the renaming of the events > expando to whatever you would like, thus avoiding any conflict. > > While this was not a bug in jQuery, we feel strongly about allowing > developers to leverage the tools that they need to do their work and we > never want jQuery to be a bottleneck. > > Thank you John & the jQuery team for continuing to make jQuery such a > flexible solution and thank you Alexandre for expanding jQuery's reach > to Brazil and offering up this great workaround. > > Rey... |
|
|
Re: MooTools $events expando workaroundYou forgot to post the url to the MooTools forum: http://forum.mootools.net/viewtopic.php?id=5190#post-26592 -Olmo M. On Aug 30, 4:05 pm, Rey Bango <r...@...> wrote: > There was a recent flurry of emails on the list discussing a conflict > with the use ofMooToolsin conjunction with jQuery. WhenMooTools > released v1.1, they renamed their events expando to $events, thus > conflicting instantly with jQuery. > > Well, Brazilian developer Alexandre Magno > (http://blog.alexandremagno.net/) came up with a novel and quite simple > solution to get around this issue; rename the $event expando inMootools! > > "I found a solution that works perfectly. Im the live example that we > need sometimes to use the both frameworks. Im develop all my projects in > jQuery, cause I learn more easily and feel more comfotable with it. > Nothing to do withMootools, with is a beatiful framework too... But I > need the fancy upload to work and is just possible withMootools, I make > everything, but doesnt work because the conflict with the variable > $event. I solve this issue by getting themootoolsdownload with no > compression, use a software like aptana, dreamweaver, or even notepad to > replace all ocurrences of $event to $event2 for example, and compress > the libraty after it. This way, the two frameworks works perfectly, > since the use of jquery with noConflit its configured. I hope this works > and soon I will develop this fancy upload for jquery to dont have to use > both. Its a shame for themootoolsteam wait to Jquery solve this > problem that noboby its blame... its just convention... why just simple > replace $event for $mootoolsEvent or $mooEvent for example??? Somethimes > its necessary use both, no doubt.."" > > This was posted in theMooToolsforum in response to a post where John & > I were trying to resolve an integration problem for aMooToolsuser > who wanted to useMooToolsand jQuery together. We realize that its > unrealistic to expect that developers are going to use just one library > and the team goes to great lengths to ensure some level of > interoperability between other libraries via noConflict(). In jQuery > v1.2, we take that a step further by allowing the renaming of the events > expando to whatever you would like, thus avoiding any conflict. > > While this was not a bug in jQuery, we feel strongly about allowing > developers to leverage the tools that they need to do their work and we > never want jQuery to be a bottleneck. > > Thank you John & the jQuery team for continuing to make jQuery such a > flexible solution and thank you Alexandre for expanding jQuery's reach > to Brazil and offering up this great workaround. > > Rey... |
|
|
Re: MooTools $events expando workaroundActually, I didn't. I left it out intentionally as there was nothing to be gleaned from the thread. Rey... Olmo wrote: > You forgot to post the url to the MooTools forum: > http://forum.mootools.net/viewtopic.php?id=5190#post-26592 > > -Olmo M. > |
|
|
Re: MooTools $events expando workaroundThere's nothing to glean. It's the right thing to do. -Olmo M. On Aug 31, 9:23 pm, Rey Bango <r...@...> wrote: > Actually, I didn't. I left it out intentionally as there was nothing to > be gleaned from the thread. > > Rey... > > Olmo wrote: > > You forgot to post the url to theMooToolsforum: > >http://forum.mootools.net/viewtopic.php?id=5190#post-26592 > > > -Olmo M. |
|
|
Re: MooTools $events expando workaroundWell, in the interest of full disclosure, for those that don't know, Olmo is part of the MooTools development team. Now, back to the topic. If there's nothing to glean and there's no benefit in sending list members to what ended up as a very unproductive discussion, why would it be the right thing to do? Rey... jQuery Project Team Olmo wrote: > There's nothing to glean. It's the right thing to do. > -Olmo M. > > On Aug 31, 9:23 pm, Rey Bango <r...@...> wrote: >> Actually, I didn't. I left it out intentionally as there was nothing to >> be gleaned from the thread. >> >> Rey... >> >> Olmo wrote: >>> You forgot to post the url to theMooToolsforum: >>> http://forum.mootools.net/viewtopic.php?id=5190#post-26592 >>> -Olmo M. > > |
|
|
Re: MooTools $events expando workaroundI'll add a signature from now on it seems. I don't need to waste my time in trying to lecture you. Should have known better. -Olmo M. http://mootools.net/developers On Sep 1, 8:35 am, Rey Bango <r...@...> wrote: > Well, in the interest of full disclosure, for those that don't know, > Olmo is part of theMooToolsdevelopment team. > > Now, back to the topic. If there's nothing to glean and there's no > benefit in sending list members to what ended up as a very unproductive > discussion, why would it be the right thing to do? > > Rey... > jQuery Project Team > > Olmo wrote: > > There's nothing to glean. It's the right thing to do. > > -Olmo M. > > > On Aug 31, 9:23 pm, Rey Bango <r...@...> wrote: > >> Actually, I didn't. I left it out intentionally as there was nothing to > >> be gleaned from the thread. > > >> Rey... > > >> Olmo wrote: > >>> You forgot to post the url to theMooToolsforum: > >>>http://forum.mootools.net/viewtopic.php?id=5190#post-26592 > >>> -Olmo M. |
|
|
Re: MooTools $events expando workaroundHi Olmo, > I'll add a signature from now on it seems. Thanks. That helps out quite a bit. Kind of like I did when I posted in the MooTools forum. Its always good to let people know where you're coming from. > I don't need to waste my time in trying to lecture you. Should have > known better. Thanks. I don't need my time wasted either. Rey... |
|
|
Re: MooTools $events expando workaroundHere there is more one Brazilian in this mail-list. jQuery na veia. On 2 set, 10:03, Rey Bango <r...@...> wrote: > Hi Olmo, > > > I'll add a signature from now on it seems. > > Thanks. That helps out quite a bit. Kind of like I did when I posted in > the MooTools forum. Its always good to let people know where you're > coming from. > > > I don't need to waste my time in trying to lecture you. Should have > > known better. > > Thanks. I don't need my time wasted either. > > Rey... |
|
|
Re: MooTools $events expando workaroundDear sir, I am facing this problem... yes, its because mootool+jQuery. My Joomla site's Template system runs on mootool, but my one of the component runs on jQuery. So, I need to do this Hack. My question is - If I convert '$event' to '$event2', will it effect on the workings of the template system ? |
|
|
Re: MooTools $events expando workaroundThis was fixed in jQuery version 1.2 (and newer). Using that version of the library shouldn't cause you any problems. --John On 9/28/07, Ayan <iosoft@...> wrote: > > Dear sir, > > I am facing this problem... yes, its because mootool+jQuery. > My Joomla site's Template system runs on mootool, but my one of the > component runs on jQuery. > > So, I need to do this Hack. > > My question is - > > If I convert '$event' to '$event2', will it effect on the workings of > the template system ? > > |
|
|
Re: MooTools $events expando workaroundThanks for your reply. I realized that the component might be using 1.1.4 version. I have requested them to upgrade it. Meanwhile, how can I upgrade the jQuery by myself ? Here is the file - http://gigahertz.byethost18.com/components/com_fireboard/template/default/js/jquery-latest.pack.js |
|
|
Re: MooTools $events expando workaroundI am sorry to repost again about this conflict, but I am still having the conflict beetween this two frameworks. I would like to say that I LARGELY prefer jQuery, which makes me able (just a graphic with NO coding skills...) to add utilities and effects to my site in a breeze (thanks, really)! But I have to make sites where other devs use Mootools, so I am still encountering the issue. I update the jQuery package to the latest, since I red that it was solved, but the conflict is still there. Thanks to everyone which will have the time to help me. The following is the link where I get the issue: http://www.bonsai-studio.net/clients/clickadvisor-02/plugins-pages/accordion/index.html On 29 Set, 06:29, Ayan <ios...@...> wrote: > Thanks for your reply. > > I realized that the component might be using 1.1.4 version. > I have requested them to upgrade it. > > Meanwhile, how can I upgrade the jQuery by myself ? > Here is the file -http://gigahertz.byethost18.com/components/com_fireboard/template/def... |
| Free embeddable forum powered by Nabble | Forum Help |