diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-08-30 20:53:31 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2022-08-30 20:53:31 +0200 |
| commit | 2838fbe91a270ed3d69ac708dac85b108b6f09dc (patch) | |
| tree | 3dbec002d22e32e0e14d289edeb43aef10a99151 /webAO/utils/queryParser.js | |
| parent | 2e5e164bbde1b024834430a91a5c1b81b6e33ae4 (diff) | |
use the typescript version of queryparser
Diffstat (limited to 'webAO/utils/queryParser.js')
| -rw-r--r-- | webAO/utils/queryParser.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/webAO/utils/queryParser.js b/webAO/utils/queryParser.js deleted file mode 100644 index 1c2b83a..0000000 --- a/webAO/utils/queryParser.js +++ /dev/null @@ -1,9 +0,0 @@ -// Get the arguments from the URL bar -const queryParser = () => { - const queryDict = {}; - location.search.substr(1).split('&').forEach((item) => { - queryDict[item.split('=')[0]] = item.split('=')[1]; - }); - return queryDict; -}; -export default queryParser; |
