mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Rename PhoneGap.execAsync() to PhoneGap.exec().
This commit is contained in:
parent
6b7fc8119f
commit
072613be99
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user