1
0
forked from mirror/misskey

Remove needless code

This commit is contained in:
Aya Morisawa 2018-12-27 21:09:03 +09:00
parent 98fd6de5a1
commit 6b30e371a2
No known key found for this signature in database
GPG Key ID: 3E64865D70D579F2

View File

@ -15,13 +15,6 @@ 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
} as any);