lib/generators/html/build/make_default_helpers.js
function(name, title, attrs){
			if (!name) return (title || "");
			name = name.replace('::', '.prototype.');
			if (docMap[name]) {
				var attrsArr = [];
				for(var prop in attrs){
					attrsArr.push(prop+"=\""+attrs[prop]+"\"")
				}
				return '<a href="' + docsFilename(name, config) + '" '+attrsArr.join(" ")+'>' + (title || name ) + '</a>';
			} else {
				return title || name || "";
			}
		}
function(name, title, attrs){
			if (!name) return (title || "");
			name = name.replace('::', '.prototype.');
			if (docMap[name]) {
				var attrsArr = [];
				for(var prop in attrs){
					attrsArr.push(prop+"=\""+attrs[prop]+"\"")
				}
				return '<a href="' + docsFilename(name, config) + '" '+attrsArr.join(" ")+'>' + (title || name ) + '</a>';
			} else {
				return title || name || "";
			}
		}
function ( name , title , attrs ) { if ( ! name ) return ( title || "" ) ; name = name . replace ( '::' , '.prototype.' ) ; if ( docMap [ name ] ) { var attrsArr = [ ] ; for ( var prop in attrs ) { attrsArr . push ( prop + "=\"" + attrs [ prop ] + "\"" ) } return '<a href="' + docsFilename ( name , config ) + '" ' + attrsArr . join ( " " ) + '>' + ( title || name ) + '</a>' ; } else { return title || name || "" ; } }
helper that creates a link to a docObject
helper that creates a link to a docObject