visgraph: no more need for tiny emitter. remove it

This commit is contained in:
2021-11-10 11:35:19 +01:00
parent a63e1321b0
commit 7dc9021eca
2 changed files with 1 additions and 51 deletions

View File

@@ -455,21 +455,7 @@ export default {
throw "uncaught action"
}
}
},
/*
/// Tiny emitter events
created() {
eventHub.on('add-relationship-modal', this.addRelationshipModal)
eventHub.on('edit-relationship-modal', this.editRelationshipModal)
eventHub.on('delete-relationship-modal', this.deleteRelationshipModal)
},
unmounted() {
eventHub.off('add-relationship-modal', this.addRelationshipModal)
eventHub.off('edit-relationship-modal', this.editRelationshipModal)
eventHub.off('delete-relationship-modal', this.deleteRelationshipModal)
}
*/
}
</script>