incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject git commit: Re-fix CB-255: (regression) iOS: a parameter with value 'null' is not passed to 'arguments' array
Date Fri, 20 Apr 2012 19:47:11 GMT
Updated Branches:
  refs/heads/master acb911a3c -> 1cbb1e4da


Re-fix CB-255: (regression) iOS: a parameter with value 'null' is not passed to 'arguments'
array


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

Branch: refs/heads/master
Commit: 1cbb1e4da9ed8c8b52986fe64db7d4d96b9b6fe5
Parents: acb911a
Author: shazron <shazron@gmail.com>
Authored: Fri Apr 20 12:47:05 2012 -0700
Committer: shazron <shazron@gmail.com>
Committed: Fri Apr 20 12:47:05 2012 -0700

----------------------------------------------------------------------
 lib/ios/exec.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/1cbb1e4d/lib/ios/exec.js
----------------------------------------------------------------------
diff --git a/lib/ios/exec.js b/lib/ios/exec.js
index c2b8594..72a896e 100644
--- a/lib/ios/exec.js
+++ b/lib/ios/exec.js
@@ -68,7 +68,7 @@ module.exports = function() {
     for (var i = 0; i < actionArgs.length; ++i) {
         var arg = actionArgs[i];
         if (arg === undefined || arg === null) { // nulls are pushed to the args now (becomes
NSNull)
-            continue;  //command.arguments.push(arg);
+            command.arguments.push(arg);
         } else if (typeof(arg) == 'object' && !(arg instanceof Array)) {
             command.options = arg;
         } else {


Mime
View raw message