mirror of
https://github.com/blasten/turn.js.git
synced 2025-04-05 19:41:54 +08:00
Merge branch 'master' of github.com:blasten/turn.js
This commit is contained in:
commit
cf64a2919d
2
turn.js
2
turn.js
@ -29,7 +29,7 @@ var has3d,
|
|||||||
|
|
||||||
A90 = PI/2,
|
A90 = PI/2,
|
||||||
|
|
||||||
isTouch = 'Touch' in window,
|
isTouch = 'ontouchstart' in window,
|
||||||
|
|
||||||
events = (isTouch) ? {start: 'touchstart', move: 'touchmove', end: 'touchend'}
|
events = (isTouch) ? {start: 'touchstart', move: 'touchmove', end: 'touchend'}
|
||||||
: {start: 'mousedown', move: 'mousemove', end: 'mouseup'},
|
: {start: 'mousedown', move: 'mousemove', end: 'mouseup'},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user