camunda / camunda-modeler-plugin-example

Plugin example for the Camunda Modeler. Use this as a starting point for creating your own plugins.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make sure people rename client plugin module to something else than 'clientPlugin'

philippfromme opened this issue · comments

People often are not aware of the fact that the name of the bpmn-js module matters (e.g. modules with same name will override others). If they create two plugins without renaming the module they'll wonder why only one of them works.

module.exports = {
  __init__: [ 'clientPlugin' ],
  clientPlugin: [ 'type', ClientPlugin ] // must be renamed
};

Will be fixed with an additional note in the README as well as source code.

The name of the service will be PLEASE_RENAME_ME.

Closed via 87470b0.