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 -1
View File
@@ -112,7 +112,7 @@ function capture (success, errorCallback, opts) {
};
if (navigator.getUserMedia) {
navigator.getUserMedia({video: true, audio: false}, successCallback, errorCallback);
navigator.getUserMedia({ video: true, audio: false }, successCallback, errorCallback);
} else {
alert('Browser does not support camera :(');
}