Revert "improve column switching performance"

This reverts commit 8813694039.
This commit is contained in:
Nolan Lawson 2018-03-12 22:13:51 -07:00
parent 8813694039
commit a05c691667
1 changed files with 1 additions and 7 deletions

View File

@ -15,7 +15,6 @@
<script>
import { importTimeline } from '../../_utils/asyncModules'
import { store } from '../../_store/store'
import { scheduleIdleTask } from '../../_utils/scheduleIdleTask'
export default {
oncreate() {
@ -26,12 +25,7 @@
},
store: () => store,
data: () => ({
importTimeline: importTimeline().then(timeline => {
return new Promise((resolve) => {
// make column-switching more responsive by delaying this load
scheduleIdleTask(() => resolve(timeline))
})
})
importTimeline: importTimeline()
})
}
</script>