feat: migrate to @cordova/eslint-config@3.x (#629)

This commit is contained in:
エリス
2020-07-14 19:15:29 +09:00
committed by GitHub
parent 358522c0b5
commit 973bbbbac7
6 changed files with 32 additions and 28 deletions
+1 -4
View File
@@ -374,7 +374,6 @@ function takePictureFromCameraWP (successCallback, errorCallback, args) {
return capture.initializeAsync(captureSettings);
}).then(function () {
// create focus control if available
var VideoDeviceController = capture.videoDeviceController;
var FocusControl = VideoDeviceController.focusControl;
@@ -477,7 +476,6 @@ function takePictureFromCameraWP (successCallback, errorCallback, args) {
}
function captureAction () {
var encodingProperties;
var fileName;
var tempFolder = getAppData().temporaryFolder;
@@ -715,7 +713,7 @@ function takePictureFromCameraWindows (successCallback, errorCallback, args) {
if (targetWidth === -1 && targetHeight === -1) {
maxRes = UIMaxRes.highestAvailable;
// Temp fix for CB-10539
// Temp fix for CB-10539
/* else if (totalPixels <= 320 * 240) {
maxRes = UIMaxRes.verySmallQvga;
} */
@@ -812,7 +810,6 @@ function savePhoto (picture, options, successCallback, errorCallback) {
if (!options.saveToPhotoAlbum) {
success(picture);
} else {
var savePicker = new Windows.Storage.Pickers.FileSavePicker();
var saveFile = function (file) {