Buckets:
| /** | |
| * Inserts a node after a given reference node. | |
| * | |
| * @param node the node to insert | |
| * @param refNode the reference node | |
| */ | |
| export default function insertAfter(node, refNode) { | |
| if (node && refNode && refNode.parentNode) { | |
| if (refNode.nextSibling) { | |
| refNode.parentNode.insertBefore(node, refNode.nextSibling); | |
| } else { | |
| refNode.parentNode.appendChild(node); | |
| } | |
| return node; | |
| } | |
| return null; | |
| } |
Xet Storage Details
- Size:
- 430 Bytes
- Xet hash:
- 7ad84c2b36ef548ba034deaf06c54fe0bc6f6f8da54ca952e90ecc8bd246ca94
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.