]> source.dussan.org Git - svg.js.git/commitdiff
Fixed event-regex
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>
Wed, 27 May 2015 09:38:25 +0000 (11:38 +0200)
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>
Wed, 27 May 2015 09:38:25 +0000 (11:38 +0200)
src/regex.js

index 13f62d817c15014be1ac8bd8d3e11d678bd51c47..bd59e9cd54c80d976fdd643aa477093040896df4 100644 (file)
@@ -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