From 0832bbe197c72c5009eb5c2e9777819cf7e27fd6 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Mon, 6 Feb 2023 13:39:32 +0100 Subject: [PATCH] style(es_extended): run prettier --- [core]/es_extended/html/css/app.css | 19 +++++---- [core]/es_extended/html/js/app.js | 60 ++++++++++++++------------- [core]/es_extended/html/js/wrapper.js | 59 ++++++++++++-------------- 3 files changed, 67 insertions(+), 71 deletions(-) diff --git a/[core]/es_extended/html/css/app.css b/[core]/es_extended/html/css/app.css index 0bdbc908..cfd2f67b 100644 --- a/[core]/es_extended/html/css/app.css +++ b/[core]/es_extended/html/css/app.css @@ -1,11 +1,11 @@ @font-face { - font-family: 'Pricedown'; - src: url('../fonts/pdown.ttf'); + font-family: "Pricedown"; + src: url("../fonts/pdown.ttf"); } @font-face { - font-family: 'bankgothic'; - src: url('../fonts/bankgothic.ttf'); + font-family: "bankgothic"; + src: url("../fonts/bankgothic.ttf"); } html { @@ -20,11 +20,12 @@ html { font-size: 2em; font-weight: bold; color: #fff; - text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; + text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, + 1px 1px 0 #000; } .menu { - font-family: 'Open Sans', sans-serif; + font-family: "Open Sans", sans-serif; min-width: 400px; min-height: 250px; color: #fff; @@ -34,7 +35,7 @@ html { } .menu .head { - font-family: 'Open Sans', sans-serif; + font-family: "Open Sans", sans-serif; font-size: 28px; padding: 10px; background: #1a1a1a; @@ -51,14 +52,14 @@ html { } .menu .head span { - font-family: 'Pricedown'; + font-family: "Pricedown"; font-size: 28px; padding-left: 15px; padding-top: 6px; } .menu .menu-items .menu-item { - font-family: 'Open Sans', sans-serif; + font-family: "Open Sans", sans-serif; font-size: 14px; height: 40px; display: block; diff --git a/[core]/es_extended/html/js/app.js b/[core]/es_extended/html/js/app.js index 26fb67e4..029ecc00 100644 --- a/[core]/es_extended/html/js/app.js +++ b/[core]/es_extended/html/js/app.js @@ -1,38 +1,40 @@ (() => { - ESX = {}; + ESX = {}; - ESX.inventoryNotification = function (add, label, count) { - let notif = ''; + ESX.inventoryNotification = function (add, label, count) { + let notif = ""; - if (add) { - notif += '+'; - } else { - notif += '-'; - } + if (add) { + notif += "+"; + } else { + notif += "-"; + } - if (count) { - notif += count + ' ' + label; - } else { - notif += ' ' + label; - } + if (count) { + notif += count + " " + label; + } else { + notif += " " + label; + } - let elem = $('