summaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
authordotnetCarpenter <jon.ronnenberg@gmail.com>2016-11-12 22:05:54 +0100
committerdotnetCarpenter <jon.ronnenberg@gmail.com>2016-11-12 22:05:54 +0100
commit8f63acccf2b9bbb539c44e5684b56295294196d3 (patch)
treed82a27ae838fca66f16e9579e7692169513b1598 /src/fx.js
parent7225e0955d751ecac46b203a283e9335ee825388 (diff)
downloadsvg.js-8f63acccf2b9bbb539c44e5684b56295294196d3.tar.gz
svg.js-8f63acccf2b9bbb539c44e5684b56295294196d3.zip
gentle optimization of PR #549
Diffstat (limited to 'src/fx.js')
-rw-r--r--src/fx.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fx.js b/src/fx.js
index 4011b85..4e6057d 100644
--- a/src/fx.js
+++ b/src/fx.js
@@ -631,9 +631,9 @@ SVG.FX = SVG.invent({
// animate initialTransformation which has to be chained
if(s.transforms.length){
- // get inital initialTransformation
+ // get initial initialTransformation
at = s.initialTransformation
- for(i = 0 ; i < s.transforms.length ; i++){
+ for(i = 0, len = s.transforms.length; i < len; i++){
// get next transformation in chain
var a = s.transforms[i]