chore: remove log statements
This commit is contained in:
@@ -78,21 +78,16 @@ export default class Settings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
insight(isWallpaperEngine, doNotTrack) {
|
insight(isWallpaperEngine, doNotTrack) {
|
||||||
console.log(1)
|
|
||||||
this.isWallpaperEngine = isWallpaperEngine
|
this.isWallpaperEngine = isWallpaperEngine
|
||||||
if (this.#isInsightInited || import.meta.env.MODE === 'development') return
|
if (this.#isInsightInited || import.meta.env.MODE === 'development') return
|
||||||
console.log(2)
|
|
||||||
this.#isInsightInited = true
|
this.#isInsightInited = true
|
||||||
this.#doNotTrack = doNotTrack
|
this.#doNotTrack = doNotTrack
|
||||||
if (this.#doNotTrack) return
|
if (this.#doNotTrack) return
|
||||||
console.log(3)
|
|
||||||
try {
|
try {
|
||||||
window.counterscale = {
|
window.counterscale = {
|
||||||
q: [["set", "siteId", `aklive2d-${import.meta.env.VITE_LINK}`], ["trackPageview"]],
|
q: [["set", "siteId", `aklive2d-${import.meta.env.VITE_LINK}`], ["trackPageview"]],
|
||||||
};
|
};
|
||||||
console.log(4)
|
|
||||||
window.counterscaleOnDemandTrack();
|
window.counterscaleOnDemandTrack();
|
||||||
console.log(5)
|
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.warn && console.warn(e.message)
|
console.warn && console.warn(e.message)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user