#49 : Code cleanup
This commit is contained in:
@@ -7,10 +7,9 @@ import {
|
|||||||
} from './event'
|
} from './event'
|
||||||
import { TAP_DURATION_MS } from '../../units'
|
import { TAP_DURATION_MS } from '../../units'
|
||||||
|
|
||||||
let tapStartedAt = 0
|
|
||||||
|
|
||||||
export function tappable(node) {
|
export function tappable(node) {
|
||||||
const dispatch = createDispatcher(node)
|
const dispatch = createDispatcher(node)
|
||||||
|
let tapStartedAt = 0
|
||||||
|
|
||||||
function handleTapstart() {
|
function handleTapstart() {
|
||||||
tapStartedAt = Date.now()
|
tapStartedAt = Date.now()
|
||||||
|
|||||||
Reference in New Issue
Block a user