From 04fc009874db2d539ad881b649f7ebb512f05312 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Thu, 8 Aug 2024 22:22:38 +0100 Subject: Init rails app --- resources/js/schemeSwap.js | 70 ---------------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 resources/js/schemeSwap.js (limited to 'resources/js/schemeSwap.js') diff --git a/resources/js/schemeSwap.js b/resources/js/schemeSwap.js deleted file mode 100644 index 3baa09b..0000000 --- a/resources/js/schemeSwap.js +++ /dev/null @@ -1,70 +0,0 @@ -/** - * Retrieves a cookies value - * @param {string} cname Cookie name - * @returns {string} Cookie value - */ -function getCookie(cname) { - let name = cname + "="; - let decodedCookie = decodeURIComponent(document.cookie); - let ca = decodedCookie.split(';'); - for(let i = 0; i