1 | ;
|
2 | function getNextElement(node) {
|
3 | var nextSibling = node.nextSibling;
|
4 | if (nextSibling) {
|
5 | return function () {
|
6 | if (nextSibling.nodeType === 1) {
|
7 | return nextSibling;
|
8 | }
|
9 | if (nextSibling.nextSibling) {
|
10 | return getNextElement(nextSibling);
|
11 | }
|
12 | return null;
|
13 | }();
|
14 | }
|
15 | return null;
|
16 | }
|
17 | module.exports = getNextElement;
|
18 | //# sourceMappingURL=getNextElement.js.map |
\ | No newline at end of file |