src/js/dom.js
function (parent, nodes) {
  for (var i = nodes.length - 1; i >= 0; i--) {
    parent.insertBefore(nodes[nodes.length - 1], parent.firstChild)
  }
}
function (parent, nodes) {
  for (var i = nodes.length - 1; i >= 0; i--) {
    parent.insertBefore(nodes[nodes.length - 1], parent.firstChild)
  }
}
function ( parent , nodes ) { for ( var i = nodes . length - 1 ; i >= 0 ; i -- ) { parent . insertBefore ( nodes [ nodes . length - 1 ] , parent . firstChild ) } }
Prepends an array of nodes to the top of an HTML element.
@param {Element} parent - Element to prepend to
@param {Array} nodes - Collection of nodes to prepend
@private
Prepends an array of nodes to the top of an HTML element .