mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
fix(docs): properly close the optional ] in directive signatures
This commit is contained in:
parent
13f31602f3
commit
ce4b630524
1 changed files with 1 additions and 1 deletions
|
|
@ -421,8 +421,8 @@ Doc.prototype = {
|
|||
} else {
|
||||
dom.text(BOOLEAN_ATTR[param.name] ? '' : infix );
|
||||
dom.text(('{' + param.type + '}').replace(/^\{\'(.*)\'\}$/, '$1'));
|
||||
dom.text(param.optional ? ']' : '');
|
||||
dom.text(suffix);
|
||||
dom.text(param.optional && !skip ? ']' : '');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue