xP: remove debugging protocol logs from JS
This commit is contained in:
parent
a551e911ab
commit
b2b3093e0e
@ -56,8 +56,6 @@ class RelayRpc extends EventTarget {
|
||||
}
|
||||
|
||||
_process(data) {
|
||||
console.log(data)
|
||||
|
||||
if (typeof data !== 'string')
|
||||
throw "Binary messages not supported"
|
||||
|
||||
@ -85,8 +83,8 @@ class RelayRpc extends EventTarget {
|
||||
if (typeof e.event !== 'string')
|
||||
throw "Invalid event tag"
|
||||
|
||||
this.dispatchEvent(new CustomEvent(
|
||||
e.event, {detail: {eventSeq: message.eventSeq, ...e}}))
|
||||
e.eventSeq = message.eventSeq
|
||||
this.dispatchEvent(new CustomEvent(e.event, {detail: e}))
|
||||
|
||||
// Minor abstraction layering violation.
|
||||
m.redraw()
|
||||
|
Loading…
Reference in New Issue
Block a user