title: Camera and PictureSourceType not defined Phonegap
body: <p>I am trying to get the camera working from a button but am getting errors on the commented lines below. I am using the documentation provided by Phonegap/Cordova (v2.1). Any help appreciated.</p>
  
  <pre><code>    var pictureSource = navigator.Camera.PictureSourceType.CAMERA; // Cannot read PictureSourceType of undef
      var destinationType = navigator.camera.DestinationType.FILE_URI;
  
      function onPhotoURISuccess(imageURI) {
          var placeImage = document.getElementById('placeImage');
          placeImage.src = imageURI;
          placeImage.style.display = 'block';
          console.log(imageURI);
      }
  
      function getPhoto() {
          navigator.Camera.getPicture(onPhotoURISuccess, onFail, { //I am getting an error for this line saying camera is not defined?
               quality: 50, 
               destinationType: camera.destinationType.FILE_URI,
               sourceType: pictureSource
          });
      }
  
      function onFail(message) {
          alert('Failed because: ' + message);
      }
  </code></pre>