diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-10 13:51:06 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-10 13:51:06 +0200 |
commit | bc9bfb6025e826b0ee6c827f1a356995d7f05d4c (patch) | |
tree | 6362deae3c6347b97dc902acdad26e9cb6047946 /src/arrange.js | |
parent | 932969dca9e1ef1090304d6a77ac8dd92a42730f (diff) | |
download | svg.js-bc9bfb6025e826b0ee6c827f1a356995d7f05d4c.tar.gz svg.js-bc9bfb6025e826b0ee6c827f1a356995d7f05d4c.zip |
use `children` instead of `childNodes` (#710), renamed `previous()` to `prev()`
Diffstat (limited to 'src/arrange.js')
-rw-r--r-- | src/arrange.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arrange.js b/src/arrange.js index 904381f..15d3d3c 100644 --- a/src/arrange.js +++ b/src/arrange.js @@ -15,7 +15,7 @@ SVG.extend(SVG.Element, { return this.siblings()[this.position() + 1] } // Get the next element (will return null if there is none) -, previous: function() { +, prev: function() { return this.siblings()[this.position() - 1] } // Send given element one step forward |