UNPKG

@kickscondor/umbrellajs

Version:

Lightweight and intuitive javascript library

7 lines (6 loc) 244 B
// Add some html as a sibling after each of the matched elements. u.prototype.after = function (html, data) { return this.adjacent(html, data, function (node, fragment) { node.parentNode.insertBefore(fragment, node.nextSibling); }); };