remove superfluous code
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// The Vue build version to load with the `import` command
|
||||
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
||||
import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import store from './vuex/store'
|
||||
|
||||
@@ -9,13 +9,6 @@ import { hasWebAudioAPI } from '../unit/music'
|
||||
const { fromJS, List } = require('immutable')
|
||||
Vue.use(Vuex)
|
||||
|
||||
let ttt = lastRecord && !isNaN(parseInt(lastRecord.speedRun, 10))
|
||||
? parseInt(lastRecord.speedRun, 10)
|
||||
: 1
|
||||
if (ttt < 1 || ttt > 6) {
|
||||
ttt = 1
|
||||
}
|
||||
|
||||
let clearLinesInitState = lastRecord &&
|
||||
!isNaN(parseInt(lastRecord.clearLines, 10))
|
||||
? parseInt(lastRecord.clearLines, 10)
|
||||
|
||||
Reference in New Issue
Block a user