Skip to content

Commit f0b88b9

Browse files
author
root
committed
remove superfluous code
1 parent 42fc166 commit f0b88b9

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/main.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// The Vue build version to load with the `import` command
2-
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
31
import Vue from 'vue'
42
import App from './App.vue'
53
import store from './vuex/store'

src/vuex/store.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ import { hasWebAudioAPI } from '../unit/music'
99
const { fromJS, List } = require('immutable')
1010
Vue.use(Vuex)
1111

12-
let ttt = lastRecord && !isNaN(parseInt(lastRecord.speedRun, 10))
13-
? parseInt(lastRecord.speedRun, 10)
14-
: 1
15-
if (ttt < 1 || ttt > 6) {
16-
ttt = 1
17-
}
18-
1912
let clearLinesInitState = lastRecord &&
2013
!isNaN(parseInt(lastRecord.clearLines, 10))
2114
? parseInt(lastRecord.clearLines, 10)

0 commit comments

Comments
 (0)