kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Make linter happy
rodzic
d949909c40
commit
db86483fbc
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
SharedArrayBuffer: 'readonly'
|
SharedArrayBuffer: 'readonly'
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
ecmaVersion: 2018,
|
ecmaVersion: 2020,
|
||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
|
@ -83,6 +83,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import showdown from 'showdown'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -94,10 +95,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
const self = this
|
this.markdown = showdown.Converter({ simplifiedAutoLink: true, openLinksInNewWindow: true })
|
||||||
import(/* webpackChunkName: "showdown" */ 'showdown').then(module => {
|
|
||||||
self.markdown = new module.default.Converter({ simplifiedAutoLink: true, openLinksInNewWindow: true })
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Ładowanie…
Reference in New Issue