diff options
author | wout <wout@impinc.co.uk> | 2014-02-20 19:08:07 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-02-20 19:08:07 +0100 |
commit | 3c780bf88d8b02c5d260987a74d06928274a2dac (patch) | |
tree | 1591e8362f068384ade847bf1eb17d1f43bc8fcc /dist/svg.js | |
parent | 9995c05ef730a91e3bd3740882f2e37523f190d3 (diff) | |
download | svg.js-3c780bf88d8b02c5d260987a74d06928274a2dac.tar.gz svg.js-3c780bf88d8b02c5d260987a74d06928274a2dac.zip |
Re-added touch events
Diffstat (limited to 'dist/svg.js')
-rwxr-xr-x | dist/svg.js | 9 |
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) { |