word-games-theme 1.7.6 → 1.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/js/multiple-word-anagram-solver.js +9 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e66f6967ca9e33e605ea9052f00d0ba82280887b085bf3864d730bb02b1ad73c
|
4
|
+
data.tar.gz: e7f0e660e2a3926bdae20613ca8301f1db11af54aa07ae007b7cb160ab8625e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db9c62b33fc48ebabac566946a3a4060d6bb7830615a68cbacf1d0adba7a588f125f152c6eac384c82a85e3d0adfd8d5a17dc075f908f8fc2e8a4381512e9b31
|
7
|
+
data.tar.gz: f859f5dda6fd82708c0f054644bc25b9efd1b3b558cf51dabd1a036ff4d00e760cf836ca52fcbf346ea5740c6f0e019eefad9794bf0b2ec1d39b45cb8f105559
|
@@ -247,15 +247,6 @@ const getMatchedChars = (str, userInput) => {
|
|
247
247
|
async function displayUi(newdata, combinations, userValue, n, wordArr) {
|
248
248
|
// console.log("printed for firsTime");
|
249
249
|
|
250
|
-
if (max_word_length != "") {
|
251
|
-
newdata = newdata.filter((w) => {
|
252
|
-
var arr1 = w.split(" ");
|
253
|
-
if (arr1.length == max_word_length) {
|
254
|
-
return w;
|
255
|
-
}
|
256
|
-
});
|
257
|
-
}
|
258
|
-
|
259
250
|
if (newdata.length == []) {
|
260
251
|
if (found.size == 0) {
|
261
252
|
errorMessage.style.display = "block";
|
@@ -274,6 +265,15 @@ async function displayUi(newdata, combinations, userValue, n, wordArr) {
|
|
274
265
|
}
|
275
266
|
|
276
267
|
requestAnimationFrame(() => {
|
268
|
+
if (max_word_length != "") {
|
269
|
+
newdata = newdata.filter((w) => {
|
270
|
+
var arr1 = w.split(" ");
|
271
|
+
if (arr1.length == max_word_length) {
|
272
|
+
return w;
|
273
|
+
}
|
274
|
+
});
|
275
|
+
}
|
276
|
+
|
277
277
|
newdata.map((item, index) => {
|
278
278
|
var i = 0;
|
279
279
|
let nWords = item.split(" ");
|