Skip Navigation

gmap.js debug code

Travel Forums System Talk gmap.js debug code

1. Posted by Robdon (Budding Member, 6 posts) 29 Aug '13 14:40

Hi,

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.

HTHs,

Rob.

2. Posted by Peter (Admin, 5355 posts) 29 Aug '13 17:48

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