From f8e1977f0a8ff6a7c2a0524662e70d12fbf4a5ab Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 25 Jul 2019 13:34:30 +0200 Subject: [PATCH] remove dead code --- src/editor/serialize.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/editor/serialize.js b/src/editor/serialize.js index 37565b64a0..cb06eede6c 100644 --- a/src/editor/serialize.js +++ b/src/editor/serialize.js @@ -56,15 +56,3 @@ export function textSerialize(model) { } }, ""); } - -export function requiresHtml(model) { - return model.parts.some(part => { - switch (part.type) { - case "room-pill": - case "user-pill": - return true; - default: - return false; - } - }); -}