Verified Commit db86483f authored by Georg Krause's avatar Georg Krause
Browse files

Make linter happy

parent d949909c
......@@ -12,7 +12,7 @@ module.exports = {
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 2018,
ecmaVersion: 2020,
sourceType: 'module',
},
plugins: [
......
......@@ -83,6 +83,7 @@
</template>
<script>
import showdown from 'showdown'
export default {
props: {
......@@ -94,10 +95,7 @@ export default {
}
},
created () {
const self = this
import(/* webpackChunkName: "showdown" */ 'showdown').then(module => {
self.markdown = new module.default.Converter({ simplifiedAutoLink: true, openLinksInNewWindow: true })
})
this.markdown = showdown.Converter({ simplifiedAutoLink: true, openLinksInNewWindow: true })
}
}
</script>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment