mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
rename attachBridge
This commit is contained in:
parent
03f9fe0b47
commit
98e3edabcb
@ -165,8 +165,12 @@ export default class ApiCore extends Core {
|
||||
window.app.eventBus.emit("session.regenerated")
|
||||
}
|
||||
|
||||
connectBridge = (key, params) => {
|
||||
this.namespaces[key] = this.createBridge(params)
|
||||
attachBridge = (key, params) => {
|
||||
return this.namespaces[key] = this.createBridge(params)
|
||||
}
|
||||
|
||||
detachBridge = (key) => {
|
||||
return delete this.namespaces[key]
|
||||
}
|
||||
|
||||
createBridge(params = {}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user