From 91f92b3de59ccc00bc4598879fafe24c42e5e8f4 Mon Sep 17 00:00:00 2001 From: Philipp Fromme Date: Tue, 19 Nov 2019 16:54:41 +0100 Subject: [PATCH] chore(connect-snapping): remove unused dependency --- lib/features/snapping/BpmnConnectSnapping.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 //////////