aboutsummaryrefslogtreecommitdiffstats
path: root/src/element.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/element.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/element.js')
-rwxr-xr-xsrc/element.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/element.js b/src/element.js
index 9c52dd0..e63b57e 100755
--- a/src/element.js
+++ b/src/element.js
@@ -293,8 +293,8 @@ SVG.Element = SVG.invent({
s = s.split(';')
/* apply every definition individually */
- for (v = 0; v < s.length; v++) {
- v = s[v].split(':')
+ for (var i = 0; i < s.length; i++) {
+ v = s[i].split(':')
this.style(v[0].replace(/\s+/g, ''), v[1])
}
} else {