From bc9bfb6025e826b0ee6c827f1a356995d7f05d4c Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Mon, 10 Jul 2017 13:51:06 +0200 Subject: use `children` instead of `childNodes` (#710), renamed `previous()` to `prev()` --- src/arrange.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arrange.js') 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 -- cgit v1.2.3