From 3892a19c482e0aa565d96e73a84feb72d8f9e208 Mon Sep 17 00:00:00 2001
From: rhenck <richard.henck@iqb.hu-berlin.de>
Date: Mon, 23 Aug 2021 17:32:01 +0200
Subject: [PATCH] [editor] Silence Verona API service

---
 projects/editor/src/app/verona-api.service.ts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/projects/editor/src/app/verona-api.service.ts b/projects/editor/src/app/verona-api.service.ts
index 0a59d69c6..ece337562 100644
--- a/projects/editor/src/app/verona-api.service.ts
+++ b/projects/editor/src/app/verona-api.service.ts
@@ -22,16 +22,16 @@ export class VeronaAPIService {
   private handleMessage(messageData: Record<string, string>): void {
     switch (messageData.type) {
       case 'voeStartCommand':
-        console.log('editor: voeStartCommand ', messageData);
+        // console.log('editor: voeStartCommand ', messageData);
         this.sessionID = messageData.sessionId;
         this._voeStartCommand.next(messageData);
         break;
       case 'voeGetDefinitionRequest':
-        console.log('editor: voeGetDefinitionRequest ', messageData);
+        // console.log('editor: voeGetDefinitionRequest ', messageData);
         this._voeGetDefinitionRequest.next(messageData);
         break;
       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 {
     if (!this.isStandalone()) {
       window.parent.postMessage(message, '*');
     } else {
-      console.log(`player: ${message.type}`);
+      // console.log(`player: ${message.type}`);
     }
   }
 
-- 
GitLab