cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject js commit: [CB-3834] Missing double quotes in iOS deprecation notice
Date Mon, 24 Jun 2013 22:27:45 GMT
Updated Branches:
  refs/heads/2.9.x 273e0a3a8 -> 1777d2e90


[CB-3834] Missing double quotes in iOS deprecation notice


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/1777d2e9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/1777d2e9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/1777d2e9

Branch: refs/heads/2.9.x
Commit: 1777d2e902782cbc27b1fafc1cd0e2c00ba54e58
Parents: 273e0a3
Author: Shazron Abdullah <shazron@apache.org>
Authored: Mon Jun 24 15:26:59 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Mon Jun 24 15:27:36 2013 -0700

----------------------------------------------------------------------
 lib/ios/exec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/1777d2e9/lib/ios/exec.js
----------------------------------------------------------------------
diff --git a/lib/ios/exec.js b/lib/ios/exec.js
index 7023c06..93269c5 100644
--- a/lib/ios/exec.js
+++ b/lib/ios/exec.js
@@ -151,7 +151,7 @@ function iOSExec() {
            actionArgs = Array.prototype.splice.call(arguments, 1);
 
            console.log('The old format of this exec call has been removed (deprecated since
2.1). Change to: ' +
-                       "cordova.exec(null, null, \"" + service + "\", " + action + "\","
+ JSON.stringify(actionArgs) + ");"
+                       "cordova.exec(null, null, \"" + service + "\", \"" + action + "\","
+ JSON.stringify(actionArgs) + ");"
                        );
            return;
        } catch (e) {


Mime
View raw message