chore(connect-snapping): remove unused dependency

This commit is contained in:
Philipp Fromme 2019-11-19 16:54:41 +01:00
parent c8412c27f2
commit 91f92b3de5
1 changed files with 2 additions and 6 deletions

View File

@ -32,9 +32,8 @@ var abs = Math.abs;
* Snap during connect. * Snap during connect.
* *
* @param {EventBus} eventBus * @param {EventBus} eventBus
* @param {Rules} rules
*/ */
export default function BpmnConnectSnapping(eventBus, rules) { export default function BpmnConnectSnapping(eventBus) {
eventBus.on([ eventBus.on([
'connect.hover', 'connect.hover',
'connect.move', 'connect.move',
@ -106,10 +105,7 @@ export default function BpmnConnectSnapping(eventBus, rules) {
}); });
} }
BpmnConnectSnapping.$inject = [ BpmnConnectSnapping.$inject = [ 'eventBus' ];
'eventBus',
'rules'
];
// helpers ////////// // helpers //////////