diff options
Diffstat (limited to 'src/array.js')
-rwxr-xr-x | src/array.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/array.js b/src/array.js index 671c8e8..b239c78 100755 --- a/src/array.js +++ b/src/array.js @@ -30,10 +30,8 @@ SVG.extend(SVG.Array, { } // Clean up any duplicate points , settle: function() { - var i, seen = [] - /* find all unique values */ - for (i = this.value.length - 1; i >= 0; i--) + for (var i = 0, il = this.value.length, seen = []; i < il; i++) if (seen.indexOf(this.value[i]) == -1) seen.push(this.value[i]) |