Re-order items, pass npm lint

This commit is contained in:
Oliver Davies 2019-09-08 21:29:14 +01:00
parent 66013363df
commit 2e59c0fbb3

View file

@ -5,9 +5,9 @@ window.hljs = require('highlightjs')
new Vue({ new Vue({
el: '#app', el: '#app',
methods: { data () {
toggle () { return {
this.isOpen = !this.isOpen isOpen: false
} }
}, },
@ -16,9 +16,9 @@ new Vue({
this.$el.classList.add('js') this.$el.classList.add('js')
}, },
data () { methods: {
return { toggle () {
isOpen: false this.isOpen = !this.isOpen
} }
} }
}) })