aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-07-01 20:47:33 +0100
committerwout <wout@impinc.co.uk>2013-07-01 20:47:33 +0100
commit4a6da20fd312d5ea1d3f98f1bcb3b0763a66870a (patch)
tree5223b6abf4d8da2d4c4811c53e6c2256e702f425 /src/event.js
parentb9b4af505a8f6abae7167bdff39d88c484d51aa7 (diff)
downloadsvg.js-4a6da20fd312d5ea1d3f98f1bcb3b0763a66870a.tar.gz
svg.js-4a6da20fd312d5ea1d3f98f1bcb3b0763a66870a.zip
Added SVG.Set adn bumped to v0.24
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/event.js b/src/event.js
index 84022c7..2fc14bb 100644
--- a/src/event.js
+++ b/src/event.js
@@ -3,19 +3,15 @@
// rect.click(function() {
// this.fill({ color: '#f06' })
// })
-;[ 'click'
-, 'dblclick'
-, 'mousedown'
-, 'mouseup'
-, 'mouseover'
-, 'mouseout'
-, 'mousemove'
-, 'mouseenter'
-, 'mouseleave'
-, 'touchstart'
-, 'touchend'
-, 'touchmove'
-, 'touchcancel' ].forEach(function(event) {
+;[ 'click'
+ , 'dblclick'
+ , 'mousedown'
+ , 'mouseup'
+ , 'mouseover'
+ , 'mouseout'
+ , 'mousemove'
+ , 'mouseenter'
+ , 'mouseleave' ].forEach(function(event) {
/* add event to SVG.Element */
SVG.Element.prototype[event] = function(f) {