From 6b30e371a2822187e6a7e74dc77ba852944e5322 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 8a4adcb7e3..254e0df308 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); } }