fix camera roll lint warnings

Summary: fix lint warnings under `Libraries/CameraRoll` directory
Closes https://github.com/facebook/react-native/pull/4445

Reviewed By: svcscm

Differential Revision: D2705430

Pulled By: nicklockwood

fb-gh-sync-id: b5a179750a6696836cf458bc8e646e6b8a23fd98
This commit is contained in:
Huang Yu 2015-11-30 16:20:41 -08:00 committed by facebook-github-bot-7
parent 0c8bafe84a
commit 9f92e91608
2 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ class CameraRoll {
* Saves the image to the camera roll / gallery.
*
* The CameraRoll API is not yet implemented for Android.
*
*
* @param {string} tag On Android, this is a local URI, such
* as `"file:///sdcard/img.png"`.
*

View File

@ -24,7 +24,7 @@ var ImagePickerIOS = {
config = {
videoMode: false,
...config,
}
};
return RCTImagePicker.openCameraDialog(config, successCallback, cancelCallback);
},
openSelectDialog: function(config: Object, successCallback: Function, cancelCallback: Function) {
@ -32,7 +32,7 @@ var ImagePickerIOS = {
showImages: true,
showVideos: false,
...config,
}
};
return RCTImagePicker.openSelectDialog(config, successCallback, cancelCallback);
},
};