mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-12 18:56:11 +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} action Action to be run in PhoneGap
|
||||||
* @param {String[]} [args] Zero or more arguments to pass to the method
|
* @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 {
|
try {
|
||||||
var callbackId = service + PhoneGap.callbackId++;
|
var callbackId = service + PhoneGap.callbackId++;
|
||||||
if (success || fail) {
|
if (success || fail) {
|
||||||
|
Loading…
Reference in New Issue
Block a user