UNPKG

ullamlaboriosam

Version:
7 lines (6 loc) 221 B
// Add some html before each of the matched elements. u.prototype.before = function (html, data) { return this.adjacent(html, data, function (node, fragment) { node.parentNode.insertBefore(fragment, node); }); };