Skip to content

Commit

Permalink
Remove unused method and fix method comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wederbn committed Aug 25, 2023
1 parent 1fb0e4a commit cd65db0
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions components/bpmn-q/modeler-component/editor/ModelerHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,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 All @@ -118,8 +107,8 @@ export async function createTempModelerFromXml(xml) {
}

/**
* 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.
* Creates a modeler with all additional modules and extension moddles from all active plugins which is
* saved as the current modeler instance and load the given xml into it.
*
* @param xml the xml representing the BPMN diagram to load
*
Expand Down

0 comments on commit cd65db0

Please sign in to comment.