diff options
Diffstat (limited to 'src/array.js')
-rwxr-xr-x | src/array.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/array.js b/src/array.js index b239c78..bc79ceb 100755 --- a/src/array.js +++ b/src/array.js @@ -70,6 +70,12 @@ SVG.extend(SVG.Array, { , split: function(string) { return string.replace(/\s+/g, ' ').replace(/^\s+|\s+$/g,'').split(' ') } + // Reverse array +, reverse: function() { + this.value.reverse() + + return this + } }) |