docs: function unmountComponentFromNode(instance, container, safely) {
  	  if (false) {
  	    ReactInstrumentation.debugTool.onBeginFlush();
  	  }
  	  ReactReconciler.unmountComponent(instance, safely);
  	  if (false) {
  	    ReactInstrumentation.debugTool.onEndFlush();
  	  }
  	
  	  if (container.nodeType === DOC_NODE_TYPE) {
  	    container = container.documentElement;
  	  }
  	
  	  // http://jsperf.com/emptying-a-node
  	  while (container.lastChild) {
  	    container.removeChild(container.lastChild);
  	  }
  	}