diff --git a/lib/features/snapping/BpmnConnectSnapping.js b/lib/features/snapping/BpmnConnectSnapping.js index 5c8c8cd7..fd24bc10 100644 --- a/lib/features/snapping/BpmnConnectSnapping.js +++ b/lib/features/snapping/BpmnConnectSnapping.js @@ -32,9 +32,8 @@ var abs = Math.abs; * Snap during connect. * * @param {EventBus} eventBus - * @param {Rules} rules */ -export default function BpmnConnectSnapping(eventBus, rules) { +export default function BpmnConnectSnapping(eventBus) { eventBus.on([ 'connect.hover', 'connect.move', @@ -106,10 +105,7 @@ export default function BpmnConnectSnapping(eventBus, rules) { }); } -BpmnConnectSnapping.$inject = [ - 'eventBus', - 'rules' -]; +BpmnConnectSnapping.$inject = [ 'eventBus' ]; // helpers //////////