npm/pup-tent/pup-tent.js
function _apply (tmpl_name, tmpl_args){
	
	var ret = null;
	
	var tmpl = _get(tmpl_name);
	if( tmpl ){
	    ret = mustache.render(tmpl, tmpl_args);
	}
	// if( tmpl ){ console.log('rendered string length: ' + ret.length); }
	
	return ret;
    }
function _apply (tmpl_name, tmpl_args){
	
	var ret = null;
	
	var tmpl = _get(tmpl_name);
	if( tmpl ){
	    ret = mustache.render(tmpl, tmpl_args);
	}
	// if( tmpl ){ console.log('rendered string length: ' + ret.length); }
	
	return ret;
    }
function _apply ( tmpl_name , tmpl_args ) { var ret = null ; var tmpl = _get ( tmpl_name ) ; if ( tmpl ) { ret = mustache . render ( tmpl , tmpl_args ) ; } // if( tmpl ){ console.log('rendered string length: ' + ret.length); } return ret ; }
Get a string from a named mustache template, with optional args.
Get a string from a named mustache template with optional args .