From fa1a63cc4ea0112d3cb00e41de3d1c6d9ccf6e55 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Thu, 27 Dec 2018 21:09:03 +0900 Subject: [PATCH] Remove needless code --- src/client/app/common/views/components/formula-core.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/client/app/common/views/components/formula-core.vue b/src/client/app/common/views/components/formula-core.vue index 8a4adcb7e..254e0df30 100644 --- a/src/client/app/common/views/components/formula-core.vue +++ b/src/client/app/common/views/components/formula-core.vue @@ -15,15 +15,8 @@ export default Vue.extend({ }, computed: { compiledFormula(): any { - // let s: string; - // try { - // s = katex.renderToString(this.formula); - // } catch(e) { - // if () - // } - // return s; return katex.renderToString(this.formula, { - throwOnError: false + throwOnError: false } as any); } }