Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var registerBpmnJSPlugin = require('camunda-modeler-plugin-helpers').registerBpmnJSPlugin;
var tokenSimulation = require('bpmn-js-token-simulation'),
HideModelerElements = require('./HideModelerElements');
tokenSimulation.__init__.push('hideModelerElements');
tokenSimulation.hideModelerElements = [ 'type', HideModelerElements ];
registerBpmnJSPlugin(tokenSimulation);