Skip to content

Commit

Permalink
Run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
wederbn committed May 15, 2024
1 parent afa7211 commit 624e311
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 29 deletions.
28 changes: 0 additions & 28 deletions components/bpmn-q/modeler-component/editor/ModelerHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,6 @@ export function createModeler(containerId, propertiesParentId) {
return modeler;
}

/**
* Create a new modeler object with the Camunda extensions but no custom extensions
*
* @return the created modeler
*/
export function createPlainModeler() {
return new BpmnModeler({
additionalModules: [CamundaExtensionModule],
keyboard: {
bindTo: document,
},
moddleExtensions: {
camunda: camundaModdleDescriptor,
},
});
}

/**
* Creates a modeler with all additional modules and extension moddles from all active plugins which is not
* saved in as the current modeler instance
Expand All @@ -85,17 +68,6 @@ export function createTempModeler() {
});
}

/**
* Create a Modeler with only Camunda native extensions and no additional modules
*
* @returns the created bpmn-js modeler
*/
export function createLightweightModeler() {
return new BpmnModeler({
moddleExtensions: getExtensions(),
});
}

/**
* Creates a modeler with all additional modules and extension moddles from all active plugins which is not
* saved in as the current modeler instance and load the given xml into it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ export function Connector({ element, translate, filteredUrls, methodUrlList }) {
inputParameters.push(urlInputParameter);
inputParameters.push(payloadInputParameter);

let outputParameters = determineOutputParameters(element.businessObject.yaml);
let outputParameters = determineOutputParameters(
element.businessObject.yaml
);
let camundaOutputParameters =
constructCamundaOutputParameters(outputParameters);

Expand Down

0 comments on commit 624e311

Please sign in to comment.