Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
modeler.on('selection.changed', function(evt) {
var activeEntriesType;
if (!isNotation(diagramFile, 'dmn')) {
return;
}
activeEntriesType = getEntriesType(evt.newSelection);
menuUpdater.update('dmn', {
selection: activeEntriesType
});
});