demo/dist/demo.js
function emptyElement(element) {
	  if (!is$1.element(element)) {
	    return;
	  }

	  var length = element.childNodes.length;

	  while (length > 0) {
	    element.removeChild(element.lastChild);
	    length -= 1;
	  }
	}
function emptyElement(element) {
	  if (!is$1.element(element)) {
	    return;
	  }

	  var length = element.childNodes.length;

	  while (length > 0) {
	    element.removeChild(element.lastChild);
	    length -= 1;
	  }
	}
function emptyElement ( element ) { if ( ! is$1 . element ( element ) ) { return ; } var length = element . childNodes . length ; while ( length > 0 ) { element . removeChild ( element . lastChild ) ; length -= 1 ; } }
Remove all child elements
Remove all child elements