mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-21 10:05:34 +08:00
fix(ngdoc.js): update default directive restrict to 'A'
This commit is contained in:
committed by
Pete Bacon Darwin
parent
26685782b3
commit
1567440665
@@ -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>');
|
||||
|
||||
Reference in New Issue
Block a user