cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesj...@apache.org
Subject spec commit: [CB-3551] Correct boolean opts for camera tests
Date Thu, 30 May 2013 14:54:53 GMT
Updated Branches:
  refs/heads/master d9bf705c7 -> 038efb5c0


[CB-3551] Correct boolean opts for camera tests


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/038efb5c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/038efb5c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/038efb5c

Branch: refs/heads/master
Commit: 038efb5c03451ec35a8c00495f27b84cd7f7121c
Parents: d9bf705
Author: James Jong <wjamesjong@gmail.com>
Authored: Thu May 30 10:53:15 2013 -0400
Committer: James Jong <wjamesjong@gmail.com>
Committed: Thu May 30 10:53:15 2013 -0400

----------------------------------------------------------------------
 camera/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/038efb5c/camera/index.html
----------------------------------------------------------------------
diff --git a/camera/index.html b/camera/index.html
index b9031b5..7b80e2a 100644
--- a/camera/index.html
+++ b/camera/index.html
@@ -289,7 +289,7 @@
             var value = el.value;
             if (value === '') continue;
             if (el.isBool) {
-                ret[el.keyName] = !!value;
+                ret[el.keyName] = !!+value;
             } else {
                 ret[el.keyName] = +value;
             }


Mime
View raw message