Skip to content

Commit

Permalink
Merge branch 'baseline' of https://github.com/bahrus/be-calculating i…
Browse files Browse the repository at this point in the history
…nto baseline
  • Loading branch information
bahrus committed Sep 1, 2024
1 parent f0429f5 commit 8602590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be-calculating.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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){
Expand Down

0 comments on commit 8602590

Please sign in to comment.