chore(connect-snapping): remove unused dependency
This commit is contained in:
parent
c8412c27f2
commit
91f92b3de5
|
@ -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 //////////
|
||||
|
|
Loading…
Reference in New Issue