word-games-theme 2.5.7 → 2.5.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db8009b82a57d188fc729ce57e6323e65fd76bd38c829fa9fff70a921070fee9
4
- data.tar.gz: cd0391b5eba53f1601377274aa7deced632b1f359ffa847ec11bd44d52273714
3
+ metadata.gz: 695dc5c21575edfe19c09d9eaefa79bdb1ebda76d827431f9bcceea584f5f8a4
4
+ data.tar.gz: aeadeac4f71fb88d198c232ccefd58535c5117ac3261809a662bfc64ce334fa9
5
5
  SHA512:
6
- metadata.gz: 85768a403ee1aceb690f4bbe5c614d4e33c11025e54064f54725696b4c25635813a6fd4cdb7f1c8998aceeaaefab5d79a2ebd3032471324a0b92300713744d51
7
- data.tar.gz: 1f0987e0b434536427489bfc5dc2b8574b59f22dc658d5d3b77470c9a76d147d3ab3dac30bcbbac686b8a094f18fabae78abe81ffe3b9806ada984762067597f
6
+ metadata.gz: a62bbdddef6e378274298f3504fc158d3c26ea77c0166fcd319bb8aa8240aab7e639a6aabc0ee10bafee3b3109ed833be7414c1df7a88d4b7d5699f99aa6bb5d
7
+ data.tar.gz: 50bdc452562744cffd908bcc50933cae2c67837f698c6be3b88bdcc73f4cb420cc36c9e917411eab0841de0326460ee9bfd0d767b169f001423d56ba745420db
@@ -9,7 +9,6 @@ let wordCount = document.querySelector(".wordCount");
9
9
  let main = document.querySelector(".main");
10
10
  // let loader = document.querySelector(".main-loader")
11
11
  let errorMsg = document.querySelector(".errorMsg");
12
- let script = document.currentScript;
13
12
 
14
13
  // getqueryUrl from form
15
14
  const params = new URLSearchParams(window.location.search);
@@ -172,14 +172,12 @@ formElement.addEventListener("submit", function (e) {
172
172
 
173
173
  const paramName = 'search';
174
174
  if (new URLSearchParams(window.location.search).has(paramName)) {
175
- loadResource("/assets/css/wordfinder-result.css", true, "text/css")
176
- .then((data) => {
175
+
176
+ loadResource("/assets/css/wordfinder-result.css", true, "text/css").then((data) => {
177
177
  console.log("CSS loaded:", data);
178
- })
179
- .then(() => {
178
+ }).then(() => {
180
179
  // Load the JavaScript file after the CSS file has loaded
181
- loadResource("/assets/js/xletter-result.js", true, "text/javascript")
182
- .then((data) => {
180
+ loadResource("/assets/js/xletter-result.js", true, "text/javascript").then((data) => {
183
181
  console.log("JavaScript loaded:", data);
184
182
  getData(txtBox.value.toLowerCase());
185
183
  })
@@ -3,7 +3,6 @@ const letterLen = getScript.dataset.letter
3
3
  const ablank = getScript.dataset.ablank
4
4
  const siteUrl = getScript.dataset.url
5
5
  let errorMsg = document.querySelector('.errorMsg')
6
- let script = document.currentScript
7
6
  let wordCount = document.querySelector('.wordCount')
8
7
  let main = document.querySelector('.main')
9
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: word-games-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.7
4
+ version: 2.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms