var event = { all: 'mousedown touchstart pointerdown mouseenter mouseleave', type: '', start: '', enter: '', leave: '', move: '', end: '' }; // イベント判定 event.check = function(e){ var _default = e.type; event.start = _default; event.move = _default === 'pointerdown' ? 'pointermove' : (_default === 'touchstart' ? 'touchmove' : 'mousemove'); event.end = _default === 'pointerdown' ? 'pointerup' : (_def