elykia 1.0.27 → 1.0.28
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.
- package/blog/welcome.js +0 -5
- package/package.json +1 -1
package/blog/welcome.js
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
const elykia = {
|
|
2
2
|
// 欢迎语
|
|
3
3
|
setWelcome_info: async () => {
|
|
4
|
-
console.log("welcome.js loaded and setWelcome_info called");
|
|
5
|
-
|
|
6
4
|
const WelcomeInfo = document.getElementById("welcome-info");
|
|
7
5
|
if (!WelcomeInfo) {
|
|
8
|
-
console.log("welcome-info element not found, retrying in 200ms...");
|
|
9
6
|
setTimeout(elykia.setWelcome_info, 200);
|
|
10
7
|
return;
|
|
11
8
|
}
|
|
12
9
|
|
|
13
|
-
console.log("welcome-info element found, proceeding with location fetch...");
|
|
14
|
-
|
|
15
10
|
try {
|
|
16
11
|
return new Promise((resolve, reject) => {
|
|
17
12
|
var script = document.createElement('script');
|