From 84b620c7718339e07aed4acfa398edd50e4935bf Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sat, 15 Oct 2022 16:37:06 +0800 Subject: refactor: Minor --- code/app/src/actions/pwKey.js | 12 ------------ code/app/src/actions/pwKey.js.map | 1 - code/app/src/app.pcss | 2 +- 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 code/app/src/actions/pwKey.js delete mode 100644 code/app/src/actions/pwKey.js.map (limited to 'code/app') diff --git a/code/app/src/actions/pwKey.js b/code/app/src/actions/pwKey.js deleted file mode 100644 index 2c019f3..0000000 --- a/code/app/src/actions/pwKey.js +++ /dev/null @@ -1,12 +0,0 @@ -import { is_development, is_testing } from "$lib/configuration"; -export default function pwKey(node, value) { - if (!value) - return; - if (!is_testing()) { - if (is_development()) - console.warn("VITE_TESTING is false, so not setting pw-key attributes"); - return; - } - node.setAttribute("pw-key", value); -} -//# sourceMappingURL=pwKey.js.map \ No newline at end of file diff --git a/code/app/src/actions/pwKey.js.map b/code/app/src/actions/pwKey.js.map deleted file mode 100644 index 2c37f87..0000000 --- a/code/app/src/actions/pwKey.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pwKey.js","sourceRoot":"","sources":["pwKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhE,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,IAAiB,EAAE,KAAyB;IACtE,IAAI,CAAC,KAAK;QAAE,OAAO;IACnB,IAAI,CAAC,UAAU,EAAE,EAAE;QACf,IAAI,cAAc,EAAE;YAAE,OAAO,CAAC,IAAI,CAAC,yDAAyD,CAAC,CAAC;QAC9F,OAAO;KACV;IACD,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/code/app/src/app.pcss b/code/app/src/app.pcss index 44855f5..5450db4 100644 --- a/code/app/src/app.pcss +++ b/code/app/src/app.pcss @@ -31,4 +31,4 @@ pre { &.active { @apply underline } -} \ No newline at end of file +} -- cgit v1.3