You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/04/20 21:47:11 UTC
git commit: Re-fix CB-255: (regression) iOS: a parameter with value
'null' is not passed to 'arguments' array
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 <sh...@gmail.com>
Authored: Fri Apr 20 12:47:05 2012 -0700
Committer: shazron <sh...@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 {