From 86025908c6f9c584ee661bc297cb34bf5e90797a Mon Sep 17 00:00:00 2001 From: "Bruce B. Anderson" Date: Sun, 1 Sep 2024 02:14:05 -0400 Subject: [PATCH] Merge branch 'baseline' of https://github.com/bahrus/be-calculating into baseline --- be-calculating.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/be-calculating.js b/be-calculating.js index ffdd171..1a79e85 100644 --- a/be-calculating.js +++ b/be-calculating.js @@ -163,7 +163,7 @@ class BeCalculating extends BE { const {prop} = remoteSpecifier; if(prop === undefined) throw 'NI'; const ao = await ASMR.getAO(remoteEl, { - evt: defaultEventType + evt: remoteSpecifier.evt || defaultEventType }); propToAO[prop] = ao; } @@ -221,7 +221,7 @@ class BeCalculating extends BE { const self = /** @type {BAP} */(/** @type {any} */ (this)); const {enhancedElement, publishEventType, propToAO, eventArg} = self; if(eventArg in enhancedElement){ - throw `${eventArg} classes with exisitng element. Specify alternative eventArg.`; + throw `${eventArg} classes with existing element. Specify alternative eventArg.`; } const arg = {}; for(const prop in propToAO){