docs: structure clean & showcase
This commit is contained in:
parent
f97a2cf0ba
commit
e99b41d208
7 changed files with 22 additions and 12 deletions
|
|
@ -34,7 +34,12 @@ class Ipc extends EventEmitter {
|
|||
this.socket.send('["pong"]')
|
||||
})
|
||||
|
||||
this.open()
|
||||
try {
|
||||
this.open()
|
||||
} catch(e) {
|
||||
console.warn('Could not open a WebSocket connection')
|
||||
console.log(e)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue