Comparing version 11.4.1 to 11.5.0
@@ -90,4 +90,8 @@ import inherits from 'inherits-browser'; | ||
// create shape | ||
this.executed('shape.create', function(context) { | ||
var shape = context.shape; | ||
this.executed([ | ||
'shape.create', | ||
'element.updateProperties', | ||
'element.updateModdleProperties' | ||
], function(context) { | ||
var shape = context.shape || context.element; | ||
@@ -112,3 +116,7 @@ if (!canHaveRootElementReference(shape)) { | ||
this.reverted('shape.create', function(context) { | ||
this.reverted([ | ||
'shape.create', | ||
'element.updateProperties', | ||
'element.updateModdleProperties' | ||
], function(context) { | ||
var addedRootElement = context.addedRootElement; | ||
@@ -115,0 +123,0 @@ |
@@ -5,3 +5,3 @@ import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; | ||
import cssEscape from 'css.escape'; | ||
import { escapeCSS as cssEscape } from 'diagram-js/lib/util/EscapeUtil'; | ||
@@ -8,0 +8,0 @@ import { |
{ | ||
"name": "bpmn-js", | ||
"version": "11.4.1", | ||
"version": "11.5.0", | ||
"description": "A bpmn 2.0 toolkit and web modeler", | ||
@@ -103,3 +103,2 @@ "main": "index.js", | ||
"bpmn-moddle": "^8.0.0", | ||
"css.escape": "^1.5.1", | ||
"diagram-js": "^11.9.1", | ||
@@ -106,0 +105,0 @@ "diagram-js-direct-editing": "^2.0.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
9
112099
4589150
203
- Removedcss.escape@^1.5.1
- Removedcss.escape@1.5.1(transitive)