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 /src | |
parent | 9995c05ef730a91e3bd3740882f2e37523f190d3 (diff) | |
download | svg.js-3c780bf88d8b02c5d260987a74d06928274a2dac.tar.gz svg.js-3c780bf88d8b02c5d260987a74d06928274a2dac.zip |
Re-added touch events
Diffstat (limited to 'src')
-rwxr-xr-x | src/event.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js index 2fc14bb..73e3ba5 100755 --- a/src/event.js +++ b/src/event.js @@ -11,7 +11,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) { |