javascript-mobile-desktop-geolocation icon indicating copy to clipboard operation
javascript-mobile-desktop-geolocation copied to clipboard

Don't use globals! :P

Open JohnMcLear opened this issue 10 years ago • 1 comments

var bb

y u do this?!

JohnMcLear avatar Sep 14 '14 16:09 JohnMcLear

Hey John,

I agree with you this is not the most elegant way to handle this, but Blackberry support needs that object to be global since they the callbacks functions as String params (http://www.tonybunce.com/2008/05/08/Blackberry-Browser-Amp-GPS.aspx).

I guess I'll be working next December in a new version, and I'll try to improve it and make it AMD. If you've got a solution now, Pull Requests are always welcome.

Thanks for your comment,

E.

estebanav avatar Sep 14 '14 21:09 estebanav