kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Make linter happy
rodzic
d949909c40
commit
db86483fbc
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue