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) {
|
_process(data) {
|
||||||
console.log(data)
|
|
||||||
|
|
||||||
if (typeof data !== 'string')
|
if (typeof data !== 'string')
|
||||||
throw "Binary messages not supported"
|
throw "Binary messages not supported"
|
||||||
|
|
||||||
@ -85,8 +83,8 @@ class RelayRpc extends EventTarget {
|
|||||||
if (typeof e.event !== 'string')
|
if (typeof e.event !== 'string')
|
||||||
throw "Invalid event tag"
|
throw "Invalid event tag"
|
||||||
|
|
||||||
this.dispatchEvent(new CustomEvent(
|
e.eventSeq = message.eventSeq
|
||||||
e.event, {detail: {eventSeq: message.eventSeq, ...e}}))
|
this.dispatchEvent(new CustomEvent(e.event, {detail: e}))
|
||||||
|
|
||||||
// Minor abstraction layering violation.
|
// Minor abstraction layering violation.
|
||||||
m.redraw()
|
m.redraw()
|
||||||
|
Loading…
Reference in New Issue
Block a user