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 /dist/svg.js | |
parent | 7225e0955d751ecac46b203a283e9335ee825388 (diff) | |
download | svg.js-8f63acccf2b9bbb539c44e5684b56295294196d3.tar.gz svg.js-8f63acccf2b9bbb539c44e5684b56295294196d3.zip |
gentle optimization of PR #549
Diffstat (limited to 'dist/svg.js')
-rw-r--r-- | dist/svg.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/svg.js b/dist/svg.js index c3913c7..ad8abda 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -6,7 +6,7 @@ * @copyright Wout Fierens <wout@mick-wout.com.com> * @license MIT * -* BUILT: Sat Nov 12 2016 21:28:15 GMT+0100 (CET) +* BUILT: Sat Nov 12 2016 22:04:58 GMT+0100 (CET) */; (function(root, factory) { if (typeof define === 'function' && define.amd) { @@ -1846,9 +1846,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] |