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({
el: '#app',
methods: {
toggle () {
this.isOpen = !this.isOpen
data () {
return {
isOpen: false
}
},
@ -16,9 +16,9 @@ new Vue({
this.$el.classList.add('js')
},
data () {
return {
isOpen: false
methods: {
toggle () {
this.isOpen = !this.isOpen
}
}
})