aboutsummaryrefslogtreecommitdiffstats
path: root/code/app
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-10-15 10:37:06 +0200
committerivarlovlie <git@ivarlovlie.no>2022-10-15 10:37:06 +0200
commit84b620c7718339e07aed4acfa398edd50e4935bf (patch)
tree896d1586b77469f09bc0bd7032cb40a3d094fb2a /code/app
parent458cbd90f800a5b51bf8b1cead8359de885b7c2d (diff)
downloadgreatoffice-84b620c7718339e07aed4acfa398edd50e4935bf.tar.xz
greatoffice-84b620c7718339e07aed4acfa398edd50e4935bf.zip
refactor: Minor
Diffstat (limited to 'code/app')
-rw-r--r--code/app/src/actions/pwKey.js12
-rw-r--r--code/app/src/actions/pwKey.js.map1
-rw-r--r--code/app/src/app.pcss2
3 files changed, 1 insertions, 14 deletions
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
+}