Rename PhoneGap.execAsync() to PhoneGap.exec().

This commit is contained in:
Bryce Curtis 2010-10-22 13:08:54 -05:00
parent 6b7fc8119f
commit 072613be99

View File

@ -390,7 +390,7 @@ PhoneGap.callbacks = {};
* @param {String} action Action to be run in PhoneGap
* @param {String[]} [args] Zero or more arguments to pass to the method
*/
PhoneGap.execAsync = function(success, fail, service, action, args) {
PhoneGap.exec = function(success, fail, service, action, args) {
try {
var callbackId = service + PhoneGap.callbackId++;
if (success || fail) {