Manikanths / jquery-ui-map

Automatically exported from code.google.com/p/jquery-ui-map
0 stars 0 forks source link

Broken support for jQuery.noConflict() #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add jQuery, jquery-ui-map and custom.js via <script> tags in that order

2. In the custom.js rename jQuery and $ to something else via 
jQuery.noConflict(true); mechanism for instance
TOjQ = jQuery;
jQuery.noConflict(true);

3. When I latter initalize gmap results in:
jQuery is undefined
.../js/jquery.ui.map.js
Line 90

What is the expected output? What do you see instead?
No errors :)

What version of the product are you using? On what operating system?
3.0rc1 on Linux

Please provide any additional information below.
Change jQuery in jquery.ui.map.js to $ solves the problem.

Original issue reported on code.google.com by fambjorn...@gmail.com on 28 Apr 2012 at 8:21

GoogleCodeExporter commented 8 years ago
It turns out there are several 'jQuery's in jquery.ui.map.js but the solution 
is still the same...

Search-and-replace all of them except the one in the bottom line with $.

Thanks.

Original comment by fambjorn...@gmail.com on 28 Apr 2012 at 9:37