word-games-theme 2.7.2 → 2.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/js/wordfinder.js +13 -4
- data/assets/js/xletter-result.js +8 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c5dcf51effe8c8b89666e41f8a387a79898e3a9ad90cf90cfbee626ba1a90250
|
|
4
|
+
data.tar.gz: 42f9455e91e702a63d53529a4189d4ea3b1825b075bd970f42b89c61918b2cab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4613519eefd5d8514e6af9a8e66b97052599a19b2a2d2b26f80065e5dfb98395cc63125f0ef3990cab8c07fb993dc6ba36d6be28621a9c510d72964e422ecffc
|
|
7
|
+
data.tar.gz: 3459327044b4cca4e137a1c1ff67a08b4a260640f4cc858d292d5110207aacc9e7857d4119e3b6c3197ba9579c858200712cfb101b3319a1f7234fe2bd290e52
|
data/assets/js/wordfinder.js
CHANGED
|
@@ -226,11 +226,16 @@ if (lengthValue === "1") {
|
|
|
226
226
|
sortingFilter.addEventListener("change", logSubmit);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
+
|
|
230
|
+
let previousDataIndex = null
|
|
231
|
+
let previousID = null;
|
|
232
|
+
let storepreviousIndex = []
|
|
229
233
|
let moreData = []
|
|
230
234
|
let data_index = 25;
|
|
231
235
|
function getWords(data) {
|
|
232
236
|
data_index = 25
|
|
233
237
|
moreData = []
|
|
238
|
+
storepreviousIndex =[]
|
|
234
239
|
main.innerHTML = "";
|
|
235
240
|
lengthSelect.innerHTML = ""
|
|
236
241
|
document.querySelector(".sortingFilters").style.display = "flex"
|
|
@@ -420,7 +425,14 @@ function getWords(data) {
|
|
|
420
425
|
<h3 class="wordListHeading lead">${i} Letter Words</h3>
|
|
421
426
|
<div class="wordList">${result.join("")}</div>
|
|
422
427
|
<div class="w-100 text-center btn-container">
|
|
423
|
-
<button
|
|
428
|
+
<button
|
|
429
|
+
style="background: black;
|
|
430
|
+
padding: 1rem 2rem;
|
|
431
|
+
border-radius: 50px;
|
|
432
|
+
color: #fff;
|
|
433
|
+
font-size: 15px;
|
|
434
|
+
border: none;"
|
|
435
|
+
onclick="showMoreWords(this)" type="button" class="my-4 showmore_btn" id="${i}">More Words</button>
|
|
424
436
|
</div>
|
|
425
437
|
</div>`
|
|
426
438
|
|
|
@@ -472,9 +484,6 @@ async function getMoreWords() {
|
|
|
472
484
|
return uniqueArray
|
|
473
485
|
}
|
|
474
486
|
|
|
475
|
-
let previousDataIndex = null
|
|
476
|
-
let previousID = null;
|
|
477
|
-
let storepreviousIndex = []
|
|
478
487
|
async function showMoreWords(e) {
|
|
479
488
|
try {
|
|
480
489
|
let showmore = e.parentElement.children[0];
|
data/assets/js/xletter-result.js
CHANGED
|
@@ -449,7 +449,14 @@ function x_with_letters(data) {
|
|
|
449
449
|
${result.join("")}
|
|
450
450
|
</div>
|
|
451
451
|
<div class="w-100 text-center btn-container">
|
|
452
|
-
<button
|
|
452
|
+
<button
|
|
453
|
+
style="background: black;
|
|
454
|
+
padding: 1rem 2rem;
|
|
455
|
+
border-radius: 50px;
|
|
456
|
+
color: #fff;
|
|
457
|
+
font-size: 15px;
|
|
458
|
+
border: none;"
|
|
459
|
+
onclick="showMoreWords(this)" type="button" class="my-4 showmore_btn" id="${itemLength}">More Words</button>
|
|
453
460
|
</div>
|
|
454
461
|
</div>
|
|
455
462
|
`;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: word-games-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.7.
|
|
4
|
+
version: 2.7.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- manpreet-appscms
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-04-
|
|
11
|
+
date: 2024-04-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|