Skip to content
Snippets Groups Projects
Commit 3892a19c authored by rhenck's avatar rhenck
Browse files

[editor] Silence Verona API service

parent 3935c5c5
No related branches found
No related tags found
No related merge requests found
...@@ -22,16 +22,16 @@ export class VeronaAPIService { ...@@ -22,16 +22,16 @@ export class VeronaAPIService {
private handleMessage(messageData: Record<string, string>): void { private handleMessage(messageData: Record<string, string>): void {
switch (messageData.type) { switch (messageData.type) {
case 'voeStartCommand': case 'voeStartCommand':
console.log('editor: voeStartCommand ', messageData); // console.log('editor: voeStartCommand ', messageData);
this.sessionID = messageData.sessionId; this.sessionID = messageData.sessionId;
this._voeStartCommand.next(messageData); this._voeStartCommand.next(messageData);
break; break;
case 'voeGetDefinitionRequest': case 'voeGetDefinitionRequest':
console.log('editor: voeGetDefinitionRequest ', messageData); // console.log('editor: voeGetDefinitionRequest ', messageData);
this._voeGetDefinitionRequest.next(messageData); this._voeGetDefinitionRequest.next(messageData);
break; break;
default: default:
console.warn(`editor: got message of unknown type ${messageData.type}`); // console.warn(`editor: got message of unknown type ${messageData.type}`);
} }
} }
...@@ -40,7 +40,7 @@ export class VeronaAPIService { ...@@ -40,7 +40,7 @@ export class VeronaAPIService {
if (!this.isStandalone()) { if (!this.isStandalone()) {
window.parent.postMessage(message, '*'); window.parent.postMessage(message, '*');
} else { } else {
console.log(`player: ${message.type}`); // console.log(`player: ${message.type}`);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment