diff options
author | Preston Tighe <preston_tighe@yahoo.com> | 2016-11-11 17:25:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-11 17:25:03 -0600 |
commit | 3176d7000f6be5e94d26624d611bd51ff371b171 (patch) | |
tree | 67417845773a76857d2985197b92a2a8aa4dbf61 | |
parent | f80cd95ee9a086ce04c1a184ffa6a4c9429c4975 (diff) | |
download | svg.js-3176d7000f6be5e94d26624d611bd51ff371b171.tar.gz svg.js-3176d7000f6be5e94d26624d611bd51ff371b171.zip |
Fix going down prototype chain
This fixed the a.undo is not a function error. The for loop was going down into the array's prototype chain.
-rw-r--r-- | src/fx.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -633,7 +633,7 @@ SVG.FX = SVG.invent({ // get inital initialTransformation at = s.initialTransformation - for(i in s.transforms){ + for(i = 0 ; i < s.transforms.length ; i++){ // get next transformation in chain var a = s.transforms[i] |