Updated Branches:
  refs/heads/master f15009f93 -> 3253e768e

Fixed CB-503 - Malformed json in Camera.getPicture capturePhoto & 
capturePhotoEdit example


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

Branch: refs/heads/master
Commit: 3253e768e667a9c121463369b5dbf9e955930975
Parents: f15009f
Author: Shazron Abdullah <[email protected]>
Authored: Fri Apr 13 08:58:22 2012 -0700
Committer: Shazron Abdullah <[email protected]>
Committed: Fri Apr 13 08:58:22 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/3253e768/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 a37bae0..0463ada 100644
--- a/docs/en/edge/cordova/camera/camera.getPicture.md
+++ b/docs/en/edge/cordova/camera/camera.getPicture.md
@@ -144,7 +144,7 @@ Full Example
         function capturePhoto() {
           // Take picture using device camera and retrieve image as 
base64-encoded string
           navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 
50,
-            destinationType.DATA_URL });
+            destinationType: destinationType.DATA_URL });
         }
 
         // A button will call this function
@@ -152,7 +152,7 @@ Full Example
         function capturePhotoEdit() {
           // Take picture using device camera, allow edit, and retrieve image 
as base64-encoded string  
           navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 
20, allowEdit: true,
-            destinationType.DATA_URL });
+            destinationType: destinationType.DATA_URL });
         }
     
         // A button will call this function

Reply via email to