summaryrefslogtreecommitdiffstats
path: root/dist/svg.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-20 19:08:07 +0100
committerwout <wout@impinc.co.uk>2014-02-20 19:08:07 +0100
commit3c780bf88d8b02c5d260987a74d06928274a2dac (patch)
tree1591e8362f068384ade847bf1eb17d1f43bc8fcc /dist/svg.js
parent9995c05ef730a91e3bd3740882f2e37523f190d3 (diff)
downloadsvg.js-3c780bf88d8b02c5d260987a74d06928274a2dac.tar.gz
svg.js-3c780bf88d8b02c5d260987a74d06928274a2dac.zip
Re-added touch events
Diffstat (limited to 'dist/svg.js')
-rwxr-xr-xdist/svg.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/dist/svg.js b/dist/svg.js
index bee59e9..5a6f3f3 100755
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -1,4 +1,4 @@
-/* svg.js 1.0.0-rc.5 - svg inventor regex default color array pointarray patharray number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient pattern doc shape use rect ellipse line poly path image text textpath nested hyperlink sugar set data memory loader - svgjs.com/license */
+/* svg.js 1.0.0-rc.5-4-g9995c05 - svg inventor regex default color array pointarray patharray number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient pattern doc shape use rect ellipse line poly path image text textpath nested hyperlink sugar set data memory loader - svgjs.com/license */
;(function() {
this.SVG = function(element) {
@@ -2060,7 +2060,12 @@
, 'mouseout'
, 'mousemove'
, 'mouseenter'
- , 'mouseleave' ].forEach(function(event) {
+ , 'mouseleave'
+ , 'touchstart'
+ , 'touchmove'
+ , 'touchleave'
+ , 'touchend'
+ , 'touchcancel' ].forEach(function(event) {
/* add event to SVG.Element */
SVG.Element.prototype[event] = function(f) {