[web] Remove unused variables
This commit is contained in:
parent
2c58351bec
commit
2d7776619f
|
@ -29,10 +29,10 @@ export default {
|
|||
this.context = new (window.AudioContext || window.webkitAudioContext)()
|
||||
const source = this.context.createMediaElementSource(this.audio)
|
||||
source.connect(this.context.destination)
|
||||
this.audio.addEventListener('canplaythrough', (event) => {
|
||||
this.audio.addEventListener('canplaythrough', () => {
|
||||
this.audio.play()
|
||||
})
|
||||
this.audio.addEventListener('canplay', (event) => {
|
||||
this.audio.addEventListener('canplay', () => {
|
||||
this.audio.play()
|
||||
})
|
||||
return this.audio
|
||||
|
|
|
@ -18,7 +18,7 @@ const createComparators = (criteria) =>
|
|||
case Date:
|
||||
return (a, b) => dateComparator(a[field], b[field]) * order
|
||||
default:
|
||||
return (a, b) => 0
|
||||
return () => 0
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -61,7 +61,7 @@ const createIndexer = ({ field, type } = {}) => {
|
|||
case 'Digits':
|
||||
return (item) => numberIndex(item[field])
|
||||
default:
|
||||
return (item) => NO_INDEX
|
||||
return () => NO_INDEX
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@ export default {
|
|||
get() {
|
||||
return this.$store.state.queue.items
|
||||
},
|
||||
set(value) {
|
||||
set() {
|
||||
/* Do nothing? Send move request in @end event */
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue