Remove needless code

This commit is contained in:
Aya Morisawa 2018-12-27 21:09:03 +09:00
parent 3d868d4036
commit fa1a63cc4e

View File

@ -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);
}
}