docs/jsdoc/templates/codeview/publish.js
function makeSignature(params) {
	if (!params) return "()";
	var signature = "("
	+
	params.filter(
		function($) {
      return !/\w+\.\w+/.test($.name);
		}
	).map(
		function($) {
      var name = $.isOptional ?
          '[' + $.name + ']' : $.name;
			return name;
		}
	).join(", ")
	+
	")";
	return signature;
}
function makeSignature(params) {
	if (!params) return "()";
	var signature = "("
	+
	params.filter(
		function($) {
      return !/\w+\.\w+/.test($.name);
		}
	).map(
		function($) {
      var name = $.isOptional ?
          '[' + $.name + ']' : $.name;
			return name;
		}
	).join(", ")
	+
	")";
	return signature;
}
Build output for displaying function parameters.