saloe 0.0.19 → 0.0.20

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.
@@ -152,10 +152,7 @@ const listener = () => {
152
152
  EVENTS.forEach((event) => {
153
153
  document.body[`on${event}`] = async (e) => {
154
154
  if (EVENTS_FIRE_DOCUMENT_BODY_LISTENERS.includes(event)) {
155
- console.log("--- prev: addScripts");
156
- const x = await addScripts();
157
- console.log("--- value:", x);
158
- console.log("--- after: addScripts");
155
+ await addScripts();
159
156
  fireLoadListener();
160
157
  fireObserverListeners();
161
158
  }
@@ -150,10 +150,7 @@ const listener = () => {
150
150
  EVENTS.forEach((event) => {
151
151
  document.body[`on${event}`] = async (e) => {
152
152
  if (EVENTS_FIRE_DOCUMENT_BODY_LISTENERS.includes(event)) {
153
- console.log("--- prev: addScripts");
154
- const x = await addScripts();
155
- console.log("--- value:", x);
156
- console.log("--- after: addScripts");
153
+ await addScripts();
157
154
  fireLoadListener();
158
155
  fireObserverListeners();
159
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saloe",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "Tools for making web development easy and efficient",
5
5
  "type": "module",
6
6
  "scripts": {
package/src/listener.js CHANGED
@@ -211,27 +211,10 @@ const listener = () => {
211
211
  }
212
212
 
213
213
  const fireListeners = () => {
214
- // EVENTS_FIRE_DOCUMENT_BODY_LISTENERS.forEach((event) => {
215
- // console.log('--- event:', event)
216
- // document.body[`on${event}`] = async (e) => {
217
- // console.log('--- prev: addScripts')
218
- // const x = await addScripts()
219
- // console.log('--- value:', x)
220
- // console.log('--- after: addScripts')
221
-
222
- // fireLoadListener()
223
- // fireObserverListeners()
224
- // }
225
- // })
226
-
227
214
  EVENTS.forEach((event) => {
228
215
  document.body[`on${event}`] = async (e) => {
229
216
  if (EVENTS_FIRE_DOCUMENT_BODY_LISTENERS.includes(event)){
230
- console.log('--- prev: addScripts')
231
- const x = await addScripts()
232
- console.log('--- value:', x)
233
- console.log('--- after: addScripts')
234
-
217
+ await addScripts()
235
218
  fireLoadListener()
236
219
  fireObserverListeners()
237
220
  }