style(lib): correct indention

This commit is contained in:
Nico Rehwaldt 2017-05-18 09:47:04 +02:00
parent 85c9059467
commit ff140d1a50
2 changed files with 20 additions and 14 deletions

View File

@ -74,19 +74,23 @@ function BpmnUpdater(eventBus, bpmnFactory, connectionDocking, translate) {
self.updateParent(element, oldParent); self.updateParent(element, oldParent);
} }
this.executed([ 'shape.move', this.executed([
'shape.create', 'shape.move',
'shape.delete', 'shape.create',
'connection.create', 'shape.delete',
'connection.move', 'connection.create',
'connection.delete' ], ifBpmn(updateParent)); 'connection.move',
'connection.delete'
], ifBpmn(updateParent));
this.reverted([ 'shape.move', this.reverted([
'shape.create', 'shape.move',
'shape.delete', 'shape.create',
'connection.create', 'shape.delete',
'connection.move', 'connection.create',
'connection.delete' ], ifBpmn(reverseUpdateParent)); 'connection.move',
'connection.delete'
], ifBpmn(reverseUpdateParent));
/* /*
* ## Updating Parent * ## Updating Parent

View File

@ -110,7 +110,9 @@ ReplaceElementBehaviour.prototype.replaceElements = function(elements, newElemen
} }
}; };
ReplaceElementBehaviour.$inject = [ 'eventBus', 'bpmnReplace', 'bpmnRules', 'elementRegistry', ReplaceElementBehaviour.$inject = [
'selection', 'modeling' ]; 'eventBus', 'bpmnReplace', 'bpmnRules',
'elementRegistry', 'selection', 'modeling'
];
module.exports = ReplaceElementBehaviour; module.exports = ReplaceElementBehaviour;