gmap.js debug code

Travel Forums System Talk gmap.js debug code

1. Posted by Robdon (Budding Member 6 posts) 9y Star this if you like it!


Just to let you know, I dont think your live/debug flags are working correctly in gmaps.js

I seem to be getting 1000s of conslog.log() messages, (which probably isnt that good for performance).

I think the regex that sets the 'live' var isnt correct, so it sets live to false, and therefor debug() is firing console logs continuously.



2. Posted by Peter (Admin 7128 posts) 9y Star this if you like it!

Ah, you're right - that regex was always going to match. Fixed it now. Thanks for alerting us :)