mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
fix(ngdoc.js): update default directive restrict to 'A'
This commit is contained in:
parent
26685782b3
commit
1567440665
1 changed files with 1 additions and 1 deletions
|
|
@ -714,7 +714,7 @@ Doc.prototype = {
|
|||
html_usage_directive: function(dom){
|
||||
var self = this;
|
||||
dom.h('Usage', function() {
|
||||
var restrict = self.restrict || 'AC';
|
||||
var restrict = self.restrict || 'A';
|
||||
|
||||
if (restrict.match(/E/)) {
|
||||
dom.html('<p>');
|
||||
|
|
|
|||
Loading…
Reference in a new issue