From: Ulrich-Matthias Schäfer Date: Wed, 27 May 2015 09:38:25 +0000 (+0200) Subject: Fixed event-regex X-Git-Tag: 2.0.0~1^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6fa1fbf980f4e06b535dc651b85b7b2d9ddca53a;p=svg.js.git Fixed event-regex --- diff --git a/src/regex.js b/src/regex.js index 13f62d8..bd59e9c 100644 --- a/src/regex.js +++ b/src/regex.js @@ -34,6 +34,6 @@ SVG.regex = { , isImage: /\.(jpg|jpeg|png|gif)(\?[^=]+.*)?/i /* test for namespaced event */ -, isEvent: /^[\w]+:[\w]+$/ +, isEvent: /^[\w]+.[\w]+$/ } \ No newline at end of file