commit
b365287722
|
@ -14,7 +14,7 @@
|
||||||
Snap.plugin(function (Snap, Element, Paper, glob) {
|
Snap.plugin(function (Snap, Element, Paper, glob) {
|
||||||
var elproto = Element.prototype,
|
var elproto = Element.prototype,
|
||||||
has = "hasOwnProperty",
|
has = "hasOwnProperty",
|
||||||
supportsTouch = "createTouch" in glob.doc,
|
supportsTouch = (('ontouchstart' in window) || window.TouchEvent || window.DocumentTouch && document instanceof DocumentTouch),
|
||||||
events = [
|
events = [
|
||||||
"click", "dblclick", "mousedown", "mousemove", "mouseout",
|
"click", "dblclick", "mousedown", "mousemove", "mouseout",
|
||||||
"mouseover", "mouseup", "touchstart", "touchmove", "touchend",
|
"mouseover", "mouseup", "touchstart", "touchmove", "touchend",
|
||||||
|
|
Loading…
Reference in New Issue