Re-order items, pass npm lint
This commit is contained in:
parent
66013363df
commit
2e59c0fbb3
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue