diff options
author | wout <wout@impinc.co.uk> | 2013-03-06 11:34:47 +0000 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-03-06 11:34:47 +0000 |
commit | f7be50c638587f5028a9c4cd54c433690c6fc671 (patch) | |
tree | b3db521623d332e60246c57363dc0ab749dd070b /src/regex.js | |
parent | 31e0a8f178185208aaf71702dadc1dbc8a6ff0eb (diff) | |
download | svg.js-f7be50c638587f5028a9c4cd54c433690c6fc671.tar.gz svg.js-f7be50c638587f5028a9c4cd54c433690c6fc671.zip |
Added during() method and unit morphing to fx module
Diffstat (limited to 'src/regex.js')
-rw-r--r-- | src/regex.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/regex.js b/src/regex.js new file mode 100644 index 0000000..7ecb557 --- /dev/null +++ b/src/regex.js @@ -0,0 +1,7 @@ +// Storage for regular expressions +SVG.regex = { + + unit: /^([\d\.]+)([a-z%]{0,2})$/ + +, hex: /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i +}
\ No newline at end of file |