Merge pull request #17 from didi/revert-15-fix_issue_#1
Revert "fix: fix fastclick export error[#1]"
This commit is contained in:
commit
1647dc7fb8
|
|
@ -7,11 +7,11 @@ import App from './App'
|
||||||
|
|
||||||
import '../components/_style/global.styl'
|
import '../components/_style/global.styl'
|
||||||
import './theme.custom.styl'
|
import './theme.custom.styl'
|
||||||
import {FastClick} from 'fastclick'
|
import fastClick from 'fastclick'
|
||||||
|
|
||||||
|
|
||||||
if ('ontouchstart' in window) {
|
if ('ontouchstart' in window) {
|
||||||
FastClick.attach(document.body)
|
fastClick(document.body)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue