chore(lint): update @cordova/eslint-config and variables

This commit is contained in:
Niklas Merz
2023-02-21 21:07:15 +01:00
committed by Erisu
parent 94d9f1cd88
commit 8b6481a445
5 changed files with 1472 additions and 1682 deletions
+4 -4
View File
@@ -21,8 +21,8 @@
/* global Windows, WinJS */
var DisplayInfo = Windows.Graphics.Display.DisplayInformation;
var Orientations = Windows.Graphics.Display.DisplayOrientations;
const DisplayInfo = Windows.Graphics.Display.DisplayInformation;
const Orientations = Windows.Graphics.Display.DisplayOrientations;
if (!window.Promise) {
window.Promise = WinJS.Promise;
@@ -33,8 +33,8 @@ module.exports = {
// console.log("screenOrientation proxy called with " + args);
try {
var prefOrients = args[0];
var winPrefs = 0;
const prefOrients = args[0];
let winPrefs = 0;
if (prefOrients & 1) {
// UIInterfaceOrientationPortrait