docs: function(nodes, val, teardown) {
  		// #### replace
  		// Replaces one element with some content while keeping nodeLists data
  		// correct.
  		//
  		// Take a copy of old nodeList
  		var oldNodes = nodes.slice(0),
  			frag = makeFrag(val);
  		// Register a teardown callback
  		nodeLists.register(nodes, teardown);
  		// Mark each node as belonging to the node list.
  		nodeLists.update(nodes, childNodes(frag));
  		// Replace old nodes with new on the DOM
  		nodeLists.replace(oldNodes, frag);
  		return nodes;
  	}