mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-25 02:40:24 +00:00
fix(docs): add a header for the directive info section
This commit is contained in:
parent
af21233820
commit
1b4289ce76
1 changed files with 6 additions and 1 deletions
|
|
@ -473,7 +473,12 @@ Doc.prototype = {
|
|||
if (self.priority !== undefined) {
|
||||
list.push('This directive executes at priority level ' + self.priority + '.');
|
||||
}
|
||||
dom.ul(list);
|
||||
|
||||
if (list.length) {
|
||||
dom.h('Directive info', function() {
|
||||
dom.ul(list);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
html_usage_overview: function(dom){
|
||||
|
|
|
|||
Loading…
Reference in a new issue