mirror of
https://github.com/Binaryify/vue-tetris.git
synced 2026-01-21 05:57:57 +08:00
remove superfluous code
This commit is contained in:
@@ -14,14 +14,6 @@ import { transform, lastRecord, speeds, i18n, lan } from './unit/const'
|
||||
import { visibilityChangeEvent, isFocus } from './unit/'
|
||||
import states from './control/states'
|
||||
export default {
|
||||
watch: {
|
||||
w() {
|
||||
this.render()
|
||||
},
|
||||
h() {
|
||||
this.render()
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.render()
|
||||
window.addEventListener('resize', this.resize.bind(this), true)
|
||||
|
||||
Reference in New Issue
Block a user