code: function createElement(type, attributes, text) {
  	  // Create a new <element>
  	  var element = document.createElement(type); // Set all passed attributes
  
  	  if (is$1.object(attributes)) {
  	    setAttributes(element, attributes);
  	  } // Add text node
  
  
  	  if (is$1.string(text)) {
  	    element.innerText = text;
  	  } // Return built element
  
  
  	  return element;
  	}
docs: Create a DocumentFragment