incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject git commit: [CB-308] typo in in camera.getPicture, should be FILE_URI not FILE_URL
Date Sat, 10 Mar 2012 20:12:19 GMT
Updated Branches:
  refs/heads/master 07b5166da -> 2af2ac956


[CB-308] typo in in camera.getPicture, should be FILE_URI not FILE_URL


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/2af2ac95
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/2af2ac95
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/2af2ac95

Branch: refs/heads/master
Commit: 2af2ac9561100c563e8f3b7ca3383b67cdc17690
Parents: 07b5166
Author: Fil Maj <maj.fil@gmail.com>
Authored: Sat Mar 10 12:12:02 2012 -0800
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Sat Mar 10 12:12:02 2012 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/2af2ac95/lib/plugin/Camera.js
----------------------------------------------------------------------
diff --git a/lib/plugin/Camera.js b/lib/plugin/Camera.js
index 05eaac2..5e58af8 100644
--- a/lib/plugin/Camera.js
+++ b/lib/plugin/Camera.js
@@ -41,7 +41,7 @@ cameraExport.getPicture = function(successCallback, errorCallback, options)
{
         }
     }
 
-    var destinationType = Camera.DestinationType.FILE_URL;
+    var destinationType = Camera.DestinationType.FILE_URI;
     if (typeof options.destinationType == "number") {
         destinationType = options.destinationType;
     }


Mime
View raw message