word-games-theme 1.4.4 → 1.4.6
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/_includes/section/home.html +1 -1
- data/_includes/section/home2.html +1 -1
- data/assets/js/wordScrabble-test.js +21 -16
- data/assets/js/wordleSolverResult.js +12 -13
- 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: 6e4378b03b1feda98855bdd1e8698da9cb06441e109b4c1d3d3187df3eba4ff0
|
|
4
|
+
data.tar.gz: fa8041634cdf6f5e23dd80c2bbda9fb4f380cbc61e663f6f7c22b6ee716e14d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b94a3728d3f9b7dafe3e4088eb4092be444a8a0644880729dc6f49c0c65ed20a92c68a6f3e6155d124b40f2f00776ff5db56d140513488e75ec8bbeda7fb9b8f
|
|
7
|
+
data.tar.gz: d5b652984b9c71bb0eea66944a412f0c51b4023030d1a7ea7b6a551ceb0b70b4d38a4033b7f7c2a8d06290b0fb97c4645aa9031b391ce61307f3e4d56fcc6576
|
data/_includes/section/home.html
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
<input style="border-radius: {{CustomColor.inputFieldBorder}};
|
|
36
36
|
background-color: {{CustomColor.inputButtonBg}};" type="submit" class="serachBtn" id="serach"
|
|
37
|
-
value>
|
|
37
|
+
value="">
|
|
38
38
|
|
|
39
39
|
<div class="dictonaryDropdown">
|
|
40
40
|
<select class="form-select select_dropDown2" name="dictionary"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
<input
|
|
35
35
|
style="border-radius: {{CustomColor.inputFieldBorder}}; background-color: {{CustomColor.inputButtonBg}};"
|
|
36
|
-
type="submit" class="serachBtn" id="serach" value>
|
|
36
|
+
type="submit" class="serachBtn" id="serach" value="">
|
|
37
37
|
|
|
38
38
|
<div class="dictonaryDropdown">
|
|
39
39
|
<select class="form-select select_dropDown2" name="dictionary"
|
|
@@ -731,6 +731,7 @@ function addFilterCount() {
|
|
|
731
731
|
}
|
|
732
732
|
}
|
|
733
733
|
addFilterCount()
|
|
734
|
+
|
|
734
735
|
// handling of filter on scroll
|
|
735
736
|
window.onscroll = function () {
|
|
736
737
|
var section = document.querySelectorAll('.wordlistContainer')
|
|
@@ -759,30 +760,34 @@ window.onscroll = function () {
|
|
|
759
760
|
}
|
|
760
761
|
}
|
|
761
762
|
|
|
763
|
+
|
|
762
764
|
// Add Filtering
|
|
763
|
-
let sections = {}
|
|
765
|
+
let sections = {};
|
|
764
766
|
function Filtering(id) {
|
|
765
|
-
let tabs = document.getElementsByClassName(
|
|
766
|
-
tabs[0] ? tabs[0].classList.add(
|
|
767
|
+
let tabs = document.getElementsByClassName("tab_link");
|
|
768
|
+
tabs[0] ? tabs[0].classList.add("active-tab") : "";
|
|
767
769
|
|
|
768
770
|
Array.from(tabs).map((item) => {
|
|
769
|
-
item.classList.remove(
|
|
770
|
-
})
|
|
771
|
-
main.innerHTML +=
|
|
772
|
-
let activeLetter = event.target
|
|
773
|
-
activeLetter.classList.add(
|
|
774
|
-
|
|
775
|
-
var section = document.querySelectorAll(
|
|
776
|
-
var sort_val =
|
|
777
|
-
|
|
771
|
+
item.classList.remove("active-tab");
|
|
772
|
+
});
|
|
773
|
+
main.innerHTML += ``;
|
|
774
|
+
let activeLetter = event.target;
|
|
775
|
+
activeLetter.classList.add("active-tab");
|
|
776
|
+
|
|
777
|
+
var section = document.querySelectorAll(".allGroupWords");
|
|
778
|
+
var sort_val = "alpha";
|
|
778
779
|
Array.prototype.forEach.call(section, function (e) {
|
|
779
780
|
if (document.body.clientWidth > 991) {
|
|
780
|
-
sections[e.id] = e.offsetTop - 10
|
|
781
|
+
sections[e.id] = e.offsetTop - 10;
|
|
781
782
|
} else {
|
|
782
|
-
sections[e.id] = e.offsetTop - 10
|
|
783
|
+
sections[e.id] = e.offsetTop - 10;
|
|
783
784
|
}
|
|
784
|
-
})
|
|
785
|
-
document.documentElement.scrollTop = sections[sort_val +
|
|
785
|
+
});
|
|
786
|
+
document.documentElement.scrollTop = sections[sort_val + "_" + id] + 5;
|
|
787
|
+
|
|
788
|
+
setTimeout(() => {
|
|
789
|
+
document.documentElement.scrollTop = sections[sort_val + "_" + id] + 5;
|
|
790
|
+
}, 200);
|
|
786
791
|
}
|
|
787
792
|
|
|
788
793
|
// next && previous functionality
|
|
@@ -14,9 +14,9 @@ let errMessage = document.querySelector('.errMessage')
|
|
|
14
14
|
let wrapper_div = document.querySelector('.wrapper_div')
|
|
15
15
|
|
|
16
16
|
const params = new URLSearchParams(window.location.search)
|
|
17
|
-
let correct = params.get('correct')
|
|
18
|
-
let includes = params.get('includes')
|
|
19
|
-
let excludes = params.get('excludes')
|
|
17
|
+
let correct = params.get('correct').toLowerCase()
|
|
18
|
+
let includes = params.get('includes').toLowerCase()
|
|
19
|
+
let excludes = params.get('excludes').toLowerCase()
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
// let addMore = document.querySelector('#addMore')
|
|
@@ -232,31 +232,30 @@ function handleSubmit(e) {
|
|
|
232
232
|
let getGreenLetters = []
|
|
233
233
|
Array.from(greenLetters).map((item) => {
|
|
234
234
|
if (!item.value) {
|
|
235
|
-
corretLettterArray.push(item.value.replace("", "_"))
|
|
235
|
+
corretLettterArray.push(item.value.replace("", "_").toLowerCase())
|
|
236
236
|
} else {
|
|
237
|
-
getGreenLetters.push(item.value)
|
|
238
|
-
corretLettterArray.push(item.value)
|
|
237
|
+
getGreenLetters.push(item.value.toLowerCase())
|
|
238
|
+
corretLettterArray.push(item.value.toLowerCase())
|
|
239
239
|
}
|
|
240
240
|
})
|
|
241
241
|
let includesLettersArray = []
|
|
242
242
|
let getYellowLetters = []
|
|
243
243
|
Array.from(yellowLetters).map((item) => {
|
|
244
244
|
if (!item.value) {
|
|
245
|
-
|
|
246
|
-
includesLettersArray.push(item.value.replace("", "_"))
|
|
245
|
+
includesLettersArray.push(item.value.replace("", "_").toLowerCase())
|
|
247
246
|
} else {
|
|
248
|
-
getYellowLetters.push(item.value)
|
|
249
|
-
includesLettersArray.push(item.value)
|
|
247
|
+
getYellowLetters.push(item.value.toLowerCase())
|
|
248
|
+
includesLettersArray.push(item.value.toLowerCase())
|
|
250
249
|
}
|
|
251
250
|
})
|
|
252
251
|
let excludesLettersArray = []
|
|
253
252
|
let getGreyLetters = []
|
|
254
253
|
Array.from(greyLetters).map((item) => {
|
|
255
254
|
if (!item.value) {
|
|
256
|
-
excludesLettersArray.push(item.value.replace("", "_"))
|
|
255
|
+
excludesLettersArray.push(item.value.replace("", "_").toLowerCase())
|
|
257
256
|
} else {
|
|
258
|
-
getGreyLetters.push(item.value)
|
|
259
|
-
excludesLettersArray.push(item.value)
|
|
257
|
+
getGreyLetters.push(item.value.toLowerCase())
|
|
258
|
+
excludesLettersArray.push(item.value.toLowerCase())
|
|
260
259
|
}
|
|
261
260
|
})
|
|
262
261
|
|
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: 1.4.
|
|
4
|
+
version: 1.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- manpreet-appscms
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-09-
|
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|