demo/dist/demo.js
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;
	}
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;
	}
Create a DocumentFragment