Skip to content

Commit

Permalink
Remove duplicate text; add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
mbraak committed Feb 24, 2024
1 parent 15e8d05 commit ba520bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/_entries/node/getnextnode.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ name: node-functions-getnextnode

Get the next node in the tree. This is the next sibling, if there is one. Or, if there is no next sibling, a node further down in the tree.

This is the next sibling, if there is one. Or, if there is no next sibling, a node further up in the tree.

- Returns a node or null.

{% highlight js %}
Expand Down
2 changes: 2 additions & 0 deletions docs/_entries/node/getpreviousnode.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ name: node-functions-getpreviousnode

Return the previous node in the tree. This is the previous sibling, if there is one. Or, if there is no previous sibling, a node further up in the tree.

- Returns a node or null.

{% highlight js %}
var node = node.getPreviousNode();
{% endhighlight %}

0 comments on commit ba520bc

Please sign in to comment.