From e14172a7ca0fc855200148ecb2b689fb4ebf2fa1 Mon Sep 17 00:00:00 2001 From: Douglas Muth Date: Fri, 15 Apr 2022 20:29:28 -0400 Subject: [PATCH] Moved wordlist in assets/ directory --- {wordlist => assets/wordlist}/count_1w.txt | 0 {wordlist => assets/wordlist}/create-wordlist.php | 0 {wordlist => assets/wordlist}/eff_large_wordlist.txt | 0 {wordlist => assets/wordlist}/go-create-wordlist.sh | 0 {wordlist => assets/wordlist}/wordlist-5-dice-eff.js | 0 {wordlist => assets/wordlist}/wordlist-5-dice.js | 0 {wordlist => assets/wordlist}/wordlist-6-dice.js | 0 {wordlist => assets/wordlist}/wordlist-7-dice.js | 0 src/index.js | 2 +- 9 files changed, 1 insertion(+), 1 deletion(-) rename {wordlist => assets/wordlist}/count_1w.txt (100%) rename {wordlist => assets/wordlist}/create-wordlist.php (100%) rename {wordlist => assets/wordlist}/eff_large_wordlist.txt (100%) rename {wordlist => assets/wordlist}/go-create-wordlist.sh (100%) rename {wordlist => assets/wordlist}/wordlist-5-dice-eff.js (100%) rename {wordlist => assets/wordlist}/wordlist-5-dice.js (100%) rename {wordlist => assets/wordlist}/wordlist-6-dice.js (100%) rename {wordlist => assets/wordlist}/wordlist-7-dice.js (100%) diff --git a/wordlist/count_1w.txt b/assets/wordlist/count_1w.txt similarity index 100% rename from wordlist/count_1w.txt rename to assets/wordlist/count_1w.txt diff --git a/wordlist/create-wordlist.php b/assets/wordlist/create-wordlist.php similarity index 100% rename from wordlist/create-wordlist.php rename to assets/wordlist/create-wordlist.php diff --git a/wordlist/eff_large_wordlist.txt b/assets/wordlist/eff_large_wordlist.txt similarity index 100% rename from wordlist/eff_large_wordlist.txt rename to assets/wordlist/eff_large_wordlist.txt diff --git a/wordlist/go-create-wordlist.sh b/assets/wordlist/go-create-wordlist.sh similarity index 100% rename from wordlist/go-create-wordlist.sh rename to assets/wordlist/go-create-wordlist.sh diff --git a/wordlist/wordlist-5-dice-eff.js b/assets/wordlist/wordlist-5-dice-eff.js similarity index 100% rename from wordlist/wordlist-5-dice-eff.js rename to assets/wordlist/wordlist-5-dice-eff.js diff --git a/wordlist/wordlist-5-dice.js b/assets/wordlist/wordlist-5-dice.js similarity index 100% rename from wordlist/wordlist-5-dice.js rename to assets/wordlist/wordlist-5-dice.js diff --git a/wordlist/wordlist-6-dice.js b/assets/wordlist/wordlist-6-dice.js similarity index 100% rename from wordlist/wordlist-6-dice.js rename to assets/wordlist/wordlist-6-dice.js diff --git a/wordlist/wordlist-7-dice.js b/assets/wordlist/wordlist-7-dice.js similarity index 100% rename from wordlist/wordlist-7-dice.js rename to assets/wordlist/wordlist-7-dice.js diff --git a/src/index.js b/src/index.js index 4442890..85d78ee 100644 --- a/src/index.js +++ b/src/index.js @@ -445,7 +445,7 @@ Diceware.go = function() { file = "wordlist-" + dice + "-dice-eff.js"; } - var js = "./wordlist/" + file; + var js = "./assets/wordlist/" + file; console.log("Looks like we're loading '" + js + "'!"); //