From e73bd40e857d88349011ae9d0272a7c5aa2f03ab Mon Sep 17 00:00:00 2001 From: David Bennett Date: Wed, 23 Oct 2013 14:11:04 -0500 Subject: docs(ngdoc.js): fix usage to display attributes as dash-case Closes 4611 --- docs/src/ngdoc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/src') diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 249f1802..ca21a80c 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -813,7 +813,7 @@ Doc.prototype = { dom.text(prefix); dom.text(param.optional ? '[' : ''); var parts = param.name.split('|'); - dom.text(parts[skipSelf ? 0 : 1] || parts[0]); + dom.text(dashCase(parts[skipSelf ? 0 : 1] || parts[0])); } if (BOOLEAN_ATTR[param.name]) { dom.text(param.optional ? ']' : ''); -- cgit v1.2.3