lahama 2.4.0 → 2.5.0
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/lahama.js +1 -1
- package/package.json +1 -1
package/dist/lahama.js
CHANGED
|
@@ -191,7 +191,7 @@ function addEventListener(
|
|
|
191
191
|
function addEventListeners(listeners = {}, el) {
|
|
192
192
|
const addedListeners = {};
|
|
193
193
|
Object.entries(listeners).forEach(([eventName, handler]) => {
|
|
194
|
-
addedListeners[eventName] =
|
|
194
|
+
addedListeners[eventName] = addEventListener(eventName, handler, el);
|
|
195
195
|
});
|
|
196
196
|
return addedListeners
|
|
197
197
|
}
|