artalk 2.8.3 → 2.8.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.
- package/dist/Artalk.cjs +1 -1
- package/dist/Artalk.cjs.map +1 -1
- package/dist/Artalk.iife.js +1 -1
- package/dist/Artalk.iife.js.map +1 -1
- package/dist/Artalk.js +2 -2
- package/dist/Artalk.js.map +1 -1
- package/dist/Artalk.mjs +11 -7
- package/dist/Artalk.mjs.map +1 -1
- package/dist/ArtalkLite.cjs +1 -1
- package/dist/ArtalkLite.cjs.map +1 -1
- package/dist/ArtalkLite.iife.js +1 -1
- package/dist/ArtalkLite.iife.js.map +1 -1
- package/dist/ArtalkLite.js +1 -1
- package/dist/ArtalkLite.js.map +1 -1
- package/dist/ArtalkLite.mjs +7 -3
- package/dist/ArtalkLite.mjs.map +1 -1
- package/package.json +2 -5
package/dist/ArtalkLite.mjs
CHANGED
|
@@ -6996,7 +6996,7 @@ const GotoFocus = (ctx) => {
|
|
|
6996
6996
|
comment.focus();
|
|
6997
6997
|
}));
|
|
6998
6998
|
};
|
|
6999
|
-
const version = "2.8.
|
|
6999
|
+
const version = "2.8.4";
|
|
7000
7000
|
const Copyright = (ctx) => {
|
|
7001
7001
|
ctx.on("mounted", () => {
|
|
7002
7002
|
const list = ctx.get("list");
|
|
@@ -7474,7 +7474,9 @@ class Artalk {
|
|
|
7474
7474
|
const obj = initService(this.ctx);
|
|
7475
7475
|
obj && this.ctx.inject(name, obj);
|
|
7476
7476
|
});
|
|
7477
|
-
|
|
7477
|
+
{
|
|
7478
|
+
load(this.ctx);
|
|
7479
|
+
}
|
|
7478
7480
|
}
|
|
7479
7481
|
/** Get the config of Artalk */
|
|
7480
7482
|
getConf() {
|
|
@@ -7496,7 +7498,9 @@ class Artalk {
|
|
|
7496
7498
|
/** Destroy instance of Artalk */
|
|
7497
7499
|
destroy() {
|
|
7498
7500
|
this.ctx.trigger("unmounted");
|
|
7499
|
-
this.ctx.$root.
|
|
7501
|
+
while (this.ctx.$root.firstChild) {
|
|
7502
|
+
this.ctx.$root.removeChild(this.ctx.$root.firstChild);
|
|
7503
|
+
}
|
|
7500
7504
|
}
|
|
7501
7505
|
/** Add an event listener */
|
|
7502
7506
|
on(name, handler) {
|