JQuery & Conflicts [message #165374] |
Thu, 09 June 2011 14:08 ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
![](//www.gravatar.com/avatar/6dbdad904867cda6f67f452860d212a4?s=64&d=mm&r=g) |
Dayo
![](/forum/images/flags/bh.png) Messages: 101 Registered: April 2011
Karma: 0
|
Senior Member |
|
|
Noticed JQuery UI has been added to the svn version.
Just want to remind the devs to kindly try make sure all calls to JQuery use "jQuery" and not "$" to avoid conflict issues with other libraries.
Thanks
[Updated on: Fri, 10 June 2011 06:37] Report message to a moderator
|
|
|
|
Re: JQuery & Conflicts [message #165382 is a reply to message #165374] |
Fri, 10 June 2011 03:31 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
![](//www.gravatar.com/avatar/6dbdad904867cda6f67f452860d212a4?s=64&d=mm&r=g) |
Dayo
![](/forum/images/flags/bh.png) Messages: 101 Registered: April 2011
Karma: 0
|
Senior Member |
|
|
Possibly. I just returned home from a series of long work trips and have quite a few things to catch up with first.
In any case, the main thrust of my post was a reminder on NEW js code being written not so much on changing existing ones.
So please, when you write NEW js stuff, consider interoperability issues:
- use "JQuery" instead of "$". Existing "$" code can be changed/patched in due course.
- Centralise and don't leave stuff scattered all over the place.
Thanks!
PS: Should have not used "don't leave stuff scattered all over the place". Meant more like "don't repeat code in separate files".
Cheers and keep up the work!
[Updated on: Fri, 10 June 2011 03:50] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|