summaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-11-06 22:28:20 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-11-06 22:28:20 +0100
commit3cb00000586340276998144d202d7af35c47ae36 (patch)
tree6b431cf16f05efeef63e145d1d1dc6aaceede4fb /src/event.js
parent2702ceb26d3021720f3ff979bcf5f46fc65699e9 (diff)
downloadsvg.js-3cb00000586340276998144d202d7af35c47ae36.tar.gz
svg.js-3cb00000586340276998144d202d7af35c47ae36.zip
tab to space, block comments to line comments
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event.js b/src/event.js
index ef8630d..66cf6c3 100644
--- a/src/event.js
+++ b/src/event.js
@@ -14,11 +14,11 @@
, 'touchend'
, 'touchcancel' ].forEach(function(event) {
- /* add event to SVG.Element */
+ // add event to SVG.Element
SVG.Element.prototype[event] = function(f) {
var self = this
- /* bind event to element rather than element node */
+ // bind event to element rather than element node
this.node['on' + event] = typeof f == 'function' ?
function() { return f.apply(self, arguments) } : null