jQuery brakes gmap.module

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by ultraBoy on November 6, 2006 at 6:07pm

Hi folks.

I followed this advice http://groups.drupal.org/node/1008#comment-3690 and modified /misc/*.js files. Now I see gmap.module doesn't work after this modification. (the module works OK when I copy those files back). Well, I mean not the module itself, but google maps. They just don't appear :(

Can anybody help please?

Categories: ,

Comments

Modifying jquery

Posted by mfredrickson on November 6, 2006 at 10:22pm

Perhaps you're better off modifying jQuery. I've started this process at:

http://groups.drupal.org/node/1781

-M

That's good. The only

Posted by ultraBoy on November 7, 2006 at 7:16am

That's good. The only (serious) disadvantage is that you won't be able to use jQuery's plugins.

sed 's/\$/JQ/' < plugin.js > modifiedplugin.js

Posted by mfredrickson on November 7, 2006 at 2:43pm

Sorta. You can always just rename all the $() calls with JQ() calls. Suboptimal, but it works.

Javascript

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /