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 ------------ 1 file changed, 12 deletions(-) delete mode 100644 code/app/src/actions/pwKey.js (limited to 'code/app/src/actions/pwKey.js') 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 -- cgit v1.3