surflion-service 1.2.5 → 1.2.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.
- package/package.json +1 -1
- package/surflion.js +1 -0
package/package.json
CHANGED
package/surflion.js
CHANGED
|
@@ -1738,6 +1738,7 @@ var SurfLion = {
|
|
|
1738
1738
|
},
|
|
1739
1739
|
initSharework: function(address) {
|
|
1740
1740
|
let useAddress = address ? address : new URL('./shareWork.js',import.meta.url)
|
|
1741
|
+
console.log("new URL('./shareWork.js',import.meta.url)", new URL('./shareWork.js',import.meta.url))
|
|
1741
1742
|
SurfLion.worker = new SharedWorker(useAddress);
|
|
1742
1743
|
document.addEventListener("visibilitychange", () => SurfLion.visibilityListen(useAddress));
|
|
1743
1744
|
SurfLion.worker.port.addEventListener("message", (event) => {
|