Skip to content

Commit

Permalink
Run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
wederbn committed Aug 28, 2023
1 parent b638937 commit 35c044c
Show file tree
Hide file tree
Showing 4 changed files with 464 additions and 371 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export function dispatchWorkflowEvent(type, workflowXml, workflowName) {
const newEvent = new CustomEvent(type, {
detail: {
workflowName: workflowName,
workflow: workflowXml
workflow: workflowXml,
},
cancelable: true
cancelable: true,
});
return modelerComponent.dispatchEvent(newEvent);
}
Expand All @@ -42,5 +42,9 @@ export function dispatchWorkflowEvent(type, workflowXml, workflowName) {
* @param callBckFunction The function defining the action executed when the event occurs
*/
export function addWorkflowEventListener(type, callBckFunction) {
modelerComponent.addEventListener(type, (event) => callBckFunction(event), false);
}
modelerComponent.addEventListener(
type,
(event) => callBckFunction(event),
false
);
}
Loading

0 comments on commit 35c044c

Please sign in to comment.