diff options
author | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2016-11-12 22:05:54 +0100 |
---|---|---|
committer | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2016-11-12 22:05:54 +0100 |
commit | 8f63acccf2b9bbb539c44e5684b56295294196d3 (patch) | |
tree | d82a27ae838fca66f16e9579e7692169513b1598 /src/fx.js | |
parent | 7225e0955d751ecac46b203a283e9335ee825388 (diff) | |
download | svg.js-8f63acccf2b9bbb539c44e5684b56295294196d3.tar.gz svg.js-8f63acccf2b9bbb539c44e5684b56295294196d3.zip |
gentle optimization of PR #549
Diffstat (limited to 'src/fx.js')
-rw-r--r-- | src/fx.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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] |