mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 08:03:08 +02:00
Remove needless code
This commit is contained in:
parent
98fd6de5a1
commit
6b30e371a2
1 changed files with 1 additions and 8 deletions
|
@ -15,15 +15,8 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
compiledFormula(): any {
|
compiledFormula(): any {
|
||||||
// let s: string;
|
|
||||||
// try {
|
|
||||||
// s = katex.renderToString(this.formula);
|
|
||||||
// } catch(e) {
|
|
||||||
// if ()
|
|
||||||
// }
|
|
||||||
// return s;
|
|
||||||
return katex.renderToString(this.formula, {
|
return katex.renderToString(this.formula, {
|
||||||
throwOnError: false
|
throwOnError: false
|
||||||
} as any);
|
} as any);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue