From 4ffd330cec28588cdee1e4d8d2926554c180a5d7 Mon Sep 17 00:00:00 2001 From: rjgotten Date: Wed, 20 Jan 2016 16:36:31 +0100 Subject: [PATCH] Fix signature names when alias tag is present on parent or grandparent --- lib/generators/html/build/make_default_helpers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/generators/html/build/make_default_helpers.js b/lib/generators/html/build/make_default_helpers.js index cb10b75c9..78145417c 100644 --- a/lib/generators/html/build/make_default_helpers.js +++ b/lib/generators/html/build/make_default_helpers.js @@ -787,13 +787,13 @@ module.exports = function(docMap, config, getCurrent, Handlebars){ if(parent){ if(parent.type == "prototype"){ var parentParent = docMap[parent.parent]; - sig += (parentParent.alias || (lastPartOfName( parentParent.name) +".") ).toLowerCase(); + sig += (lastPartOfName(parentParent.alias || parentParent.name) + ".").toLowerCase(); } else { - sig += (parent.alias || lastPartOfName( parent.name)+"." ); + sig += lastPartOfName(parent.alias || parent.name) + "."; } - sig += ( lastPartOfName(this.name) || "function" ); + sig += (lastPartOfName(this.name) || "function"); } else { sig += "function"; }