docs/3/bower_components/html5shiv/dist/html5shiv-printshiv.js
function createWrapper(element) {
    var node,
        nodes = element.attributes,
        index = nodes.length,
        wrapper = element.ownerDocument.createElement(shivNamespace + ':' + element.nodeName);

    // copy element attributes to the wrapper
    while (index--) {
      node = nodes[index];
      node.specified && wrapper.setAttribute(node.nodeName, node.nodeValue);
    }
    // copy element styles to the wrapper
    wrapper.style.cssText = element.style.cssText;
    return wrapper;
  }
function createWrapper(element) {
    var node,
        nodes = element.attributes,
        index = nodes.length,
        wrapper = element.ownerDocument.createElement(shivNamespace + ':' + element.nodeName);

    // copy element attributes to the wrapper
    while (index--) {
      node = nodes[index];
      node.specified && wrapper.setAttribute(node.nodeName, node.nodeValue);
    }
    // copy element styles to the wrapper
    wrapper.style.cssText = element.style.cssText;
    return wrapper;
  }
function createWrapper ( element ) { var node , nodes = element . attributes , index = nodes . length , wrapper = element . ownerDocument . createElement ( shivNamespace + ':' + element . nodeName ) ; // copy element attributes to the wrapper while ( index -- ) { node = nodes [ index ] ; node . specified && wrapper . setAttribute ( node . nodeName , node . nodeValue ) ; } // copy element styles to the wrapper wrapper . style . cssText = element . style . cssText ; return wrapper ; }
Creates a printable wrapper for the given element.
@private
@param {Element} element The element.
@returns {Element} The wrapper.
Creates a printable wrapper for the given element .