mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(ngdoc.js): fix usage to display attributes as dash-case
Closes 4611
This commit is contained in:
parent
ab3a3bf07a
commit
e73bd40e85
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ? ']' : '');
|
||||
|
|
|
|||
Loading…
Reference in a new issue