Skip to content

Commit

Permalink
Fixes callback/callback-ios#43 - comment edits
Browse files Browse the repository at this point in the history
  • Loading branch information
shazron committed Dec 16, 2011
1 parent 3773dcd commit 55ba2f0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions PhoneGapLib/javascripts/core/capture.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

if (!PhoneGap.hasResource("capture")) {
PhoneGap.addResource("capture");
/**
Expand Down Expand Up @@ -54,11 +53,10 @@ Capture.prototype.captureImage = function(successCallback, errorCallback, option
};

/**
* Launch camera application for taking image(s).
*
* @param {Function} successCB
* @param {Function} errorCB
* @param {CaptureImageOptions} options
* Casts a PluginResult message property (array of objects) to an array of MediaFile objects
* (used in Objective-C)
*
* @param {PluginResult} pluginResult
*/
Capture.prototype._castMediaFile = function(pluginResult) {
var mediaFiles = [];
Expand Down

0 comments on commit 55ba2f0

Please sign in to comment.