incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject docs commit: Fixed CB-243 - Camera.getPicture examples assume DATA_URL destination type
Date Fri, 06 Apr 2012 08:20:36 GMT
Updated Branches:
  refs/heads/master 962a3caa7 -> 1d7b6c7e5


Fixed CB-243 - Camera.getPicture examples assume DATA_URL destination type


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

Branch: refs/heads/master
Commit: 1d7b6c7e5d9e87ec14563a34639dd66b2db45e0e
Parents: 962a3ca
Author: Shazron Abdullah <shazron@gmail.com>
Authored: Fri Apr 6 01:20:26 2012 -0700
Committer: Shazron Abdullah <shazron@gmail.com>
Committed: Fri Apr 6 01:20:26 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/cordova/camera/camera.getPicture.md |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/1d7b6c7e/docs/en/edge/cordova/camera/camera.getPicture.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/camera/camera.getPicture.md b/docs/en/edge/cordova/camera/camera.getPicture.md
index 1b13131..5fe5cd7 100644
--- a/docs/en/edge/cordova/camera/camera.getPicture.md
+++ b/docs/en/edge/cordova/camera/camera.getPicture.md
@@ -38,7 +38,9 @@ Quick Example
 
 Take photo and retrieve Base64-encoded image:
 
-    navigator.camera.getPicture(onSuccess, onFail, { quality: 50 }); 
+    navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+        destinationType: Camera.DestinationType.DATA_URL
+     }); 
 
     function onSuccess(imageData) {
         var image = document.getElementById('myImage');


Mime
View raw message