aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-06-11 15:27:07 +0200
committerwout <wout@impinc.co.uk>2014-06-11 15:27:07 +0200
commite3a0f3a887a398a87356f63253830e1baf67823e (patch)
treed2b13c0dc0b4d40270cda7e1968860325d6c49b8 /src/regex.js
parent791f4368403571d5e824d91f3562c63baae356a8 (diff)
downloadsvg.js-e3a0f3a887a398a87356f63253830e1baf67823e.tar.gz
svg.js-e3a0f3a887a398a87356f63253830e1baf67823e.zip
Bumped to version 1.0.0-rc.7
Look at change log for full overview of changes.
Diffstat (limited to 'src/regex.js')
-rwxr-xr-xsrc/regex.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/regex.js b/src/regex.js
index c78d9f3..433952b 100755
--- a/src/regex.js
+++ b/src/regex.js
@@ -30,4 +30,7 @@ SVG.regex = {
/* test for image url */
, isImage: /\.(jpg|jpeg|png|gif)(\?[^=]+.*)?/i
+ /* test for namespaced event */
+, isEvent: /^[\w]+:[\w]+$/
+
} \ No newline at end of file