macdonst
1d79b6617b
JavaScript cleanup to pass jsHint
...
I did my best to clean up the JavaScript so it would pass through jsHint more cleanly. There still are issues but there are a lot fewer now. This helped to make the JS code more consistent.
2011-05-21 02:31:24 +08:00
defrex
bde59adc04
Add docs and fixed to pass through the Google Closure Compiler without warnings
2011-05-04 16:00:03 -07:00
Bryce Curtis
908485751b
Add check to only init and run JS code once - even if included multiple times.
2011-03-30 13:29:24 -05:00
paulb777
6f4673f590
JSLint clean JavaScript sources. No fatal errors remain. Options can turn off rest of warnings
2011-02-15 16:10:09 -08:00
Bryce Curtis
6b7fc8119f
Rename PhoneGap.execAsync() to PhoneGap.exec() and change all JS files that use it.
2010-10-20 23:53:33 -05:00
Bryce Curtis
de23753204
Update license and copyright notices in each source file. PhoneGap is licensed under modified BSD and MIT (2008).
2010-10-18 15:31:16 -05:00
Bryce Curtis
7f7cc1db2a
Add geolocation options as defined by W3C spec.
2010-09-23 14:34:56 -05:00
Bryce Curtis
edfa41c9f9
Update geolocation to follow W3C spec, add comments, add error checking.
2010-09-22 14:47:52 -05:00
macdonst
b1af7d8739
Adding altituteAccuracy into Coordinates object
2010-08-30 22:56:24 +08:00
Joe Bowser
ea1184cdd3
Fixed up geolocation to use the native geolocation when available
2010-07-15 16:55:00 -07:00
filmaj
887ab4a28b
Added explicit disabling of native Geolocation object in the web client, added a fallback measure to JavaScript geolocation PhoneGap constructor so that it builds/proxies the the instantiated Geo objects properly if it still does exist.
2010-03-23 16:37:30 -07:00
Brock Whitten
f32bb7057e
Fixed ridiculous error in Javascript for GeoLocation
2010-03-15 17:01:12 -07:00
Brock Whitten
57a41b7b2f
Found syntax error in Geolocation. Probably been lurking here for months
2010-03-15 16:07:14 -07:00
filmaj
76a8203176
Fixed small contacts and accelerometer object instantiation bugs. Added a bit more delay to PhoneGap constructor, 1ms caused issues sometimes I *think*.
2010-02-13 18:58:45 -08:00
filmaj
5255f63237
Fixed building of phonegap.js in build script. Fixed GPS on Android 2.0+ - I guess they updated the version of WebKit being used on Android (similar now to how it works on iPhone) and thus the browser has a native navigator.geolocation object. Employed Jesses approach to proxying an object
s method since we can`t directly overwrite it.
2010-02-13 17:09:02 -08:00
Brian LeRoux
e3dc010b97
reorg of project assets
2010-01-26 13:54:02 -08:00