code: function(format, renderer, data, helpers, nodelist){
  		if (format === "string") {
  			if (renderer.renderAsString) {
  				renderer = renderer.renderAsString;
  			} else if (renderer.render) {
  				renderer = renderer.render;
  
  			}
  		}
  		return renderer(data, helpers, nodelist);
  	}
docs: ##### renderTo  
  @hide
  @function renderTo
  @param {String} format
  @param {Function} renderer
  @param data
  @param {Object} helpers helper methods for this template
  @param {NodeList} nodelist parent nodelist to register partial template contents with
  @return {*}