Commit Graph

24 Commits

Author SHA1 Message Date
macdonst
664a061d10 Rename to Cordova 2012-02-03 10:38:40 -05:00
Joe Bowser
a35a33c05e Adding the Apache Headers 2011-10-27 14:04:39 -07:00
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
577284b960 Remove unneeded debug log statements. 2010-10-28 16:28:24 -05: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
Justin Tyberg
668bc9e0ca Corrected check for existence of accelerometer timer to allow clearWatch to clearInterval correctly. 2010-10-01 10:34:39 +08:00
Bryce Curtis
0a7762743e Optimize accelerometer to use new PluginManager. 2010-09-10 13:44:45 -05:00
Bryce Curtis
3c9bae3402 Optimize accelerometer for plugin manager. 2010-09-08 17:09:22 -05:00
Bryce Curtis
9e931cc3f6 Change to use Commands and CommandManager. 2010-09-07 10:39:55 -05:00
Bryce Curtis
27c4de6aa0 Change compass listener and optimize accelerometer listener. 2010-08-20 10:59:45 -05:00
Bryce Curtis
4b3255e4fd Accelerometer updates:
- Removed thread delay to get accelerometer values.
- Override Activity lifecycle methods to manage JavaScript timers and enable window.onunload to be called.  This is needed for accelerometer to shut down correctly.
2010-08-12 10:51:12 -05:00
Bryce Curtis
d5646584ee Change accelerometer to use JavaScript setInterval for watch. 2010-08-11 13:47:50 -05:00
Joe Bowser
32b68f568b Adding the new keyword again 2010-08-04 12:38:19 -07:00
Dave Johnson
89dd0396fe changed gotAccel to gotCurrentAcceleration since that is what is called from getCurrentAcceleration 2010-07-12 14:44:34 -07:00
Dave Johnson
6d60a2b012 fixed bug with accelerometer z value not being set #36 2010-07-12 14:08:09 -07:00
Joe Bowser
e55cef9c14 Fixing accel 2010-06-04 13:25:28 -07:00
Joe Bowser
c1e628f44c Fixing up the accelerometer. Weird issue with where zero is 2010-06-04 11:42:12 -07:00
Joe Bowser
64671184a6 Initial Commit - Fixing Accelerometer 2010-04-28 15:46:15 -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
Brian LeRoux
e3dc010b97 reorg of project assets 2010-01-26 13:54:02 -08:00