summaryrefslogtreecommitdiffstats
path: root/src/array.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/array.js')
-rwxr-xr-xsrc/array.js6
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
+ }
})