saloe 0.0.14 → 0.0.16
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/listener.cjs.js +4 -1
- package/dist/listener.es.js +4 -1
- package/package.json +1 -1
- package/src/listener.js +4 -1
package/dist/listener.cjs.js
CHANGED
|
@@ -151,7 +151,10 @@ const listener = () => {
|
|
|
151
151
|
const fireListeners = () => {
|
|
152
152
|
EVENTS_FIRE_DOCUMENT_BODY_LISTENERS == null ? void 0 : EVENTS_FIRE_DOCUMENT_BODY_LISTENERS.forEach((event) => {
|
|
153
153
|
document.body[`on${event}`] = async (e) => {
|
|
154
|
-
|
|
154
|
+
console.log("--- prev: addScripts");
|
|
155
|
+
const x = await addScripts();
|
|
156
|
+
console.log("--- value:", x);
|
|
157
|
+
console.log("--- after: addScripts");
|
|
155
158
|
fireLoadListener();
|
|
156
159
|
fireObserverListeners();
|
|
157
160
|
};
|
package/dist/listener.es.js
CHANGED
|
@@ -149,7 +149,10 @@ const listener = () => {
|
|
|
149
149
|
const fireListeners = () => {
|
|
150
150
|
EVENTS_FIRE_DOCUMENT_BODY_LISTENERS == null ? void 0 : EVENTS_FIRE_DOCUMENT_BODY_LISTENERS.forEach((event) => {
|
|
151
151
|
document.body[`on${event}`] = async (e) => {
|
|
152
|
-
|
|
152
|
+
console.log("--- prev: addScripts");
|
|
153
|
+
const x = await addScripts();
|
|
154
|
+
console.log("--- value:", x);
|
|
155
|
+
console.log("--- after: addScripts");
|
|
153
156
|
fireLoadListener();
|
|
154
157
|
fireObserverListeners();
|
|
155
158
|
};
|
package/package.json
CHANGED
package/src/listener.js
CHANGED
|
@@ -213,7 +213,10 @@ const listener = () => {
|
|
|
213
213
|
const fireListeners = () => {
|
|
214
214
|
EVENTS_FIRE_DOCUMENT_BODY_LISTENERS?.forEach((event) => {
|
|
215
215
|
document.body[`on${event}`] = async (e) => {
|
|
216
|
-
|
|
216
|
+
console.log('--- prev: addScripts')
|
|
217
|
+
const x = await addScripts()
|
|
218
|
+
console.log('--- value:', x)
|
|
219
|
+
console.log('--- after: addScripts')
|
|
217
220
|
|
|
218
221
|
fireLoadListener()
|
|
219
222
|
fireObserverListeners()
|