Commit Graph

15 Commits

Author SHA1 Message Date
macdonst
9aa1cd756a Refactor out the Java casting code
When we return JSON to the Java side it does not have the proper methods such as Contact.save() so we need to cast the JSON to the correct JS object. This used to be done from the Java layer calling the right method to cast the JSON. In this new approach the JavaScript layer will no what needs to be cast and call it's own internal function to do the cast.
2012-02-09 16:41:26 -05:00
macdonst
664a061d10 Rename to Cordova 2012-02-03 10:38:40 -05:00
macdonst
5406d6c98f Linting the JS code 2011-11-17 04:38:11 +08:00
Joe Bowser
a35a33c05e Adding the Apache Headers 2011-10-27 14:04:39 -07:00
macdonst
821eb24a54 Fix for Issue #228: Align Compass support with iOS 2011-09-28 17:35:50 -04: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
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
5c20ba57e9 Optimize compass to use new PluginManager. 2010-09-10 11:35:10 -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
Joe Bowser
e5f03b6aed Fixing compass so it actually works 2010-06-11 14:19:37 -07:00
Brian LeRoux
e3dc010b97 reorg of project assets 2010-01-26 13:54:02 -08:00