Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8fb34f0

Browse files
committed
fix(docs): directive events + cleanup
1 parent 5d09a1e commit 8fb34f0

File tree

2 files changed

+8
-26
lines changed

2 files changed

+8
-26
lines changed

docs/src/ngdoc.js

+2-20
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,8 @@ Doc.prototype = {
412412
self.html_usage_directiveInfo(dom);
413413
self.html_usage_parameters(dom);
414414
});
415+
416+
self.method_properties_events(dom);
415417
},
416418

417419
html_usage_filter: function(dom){
@@ -444,24 +446,6 @@ Doc.prototype = {
444446
});
445447
},
446448

447-
html_usage_inputType: function(dom){
448-
var self = this;
449-
dom.h('Usage', function() {
450-
dom.code(function() {
451-
dom.text('<input type="' + self.shortName + '"');
452-
(self.param||[]).forEach(function(param){
453-
dom.text('\n ');
454-
dom.text(param.optional ? ' [' : ' ');
455-
dom.text(param.name);
456-
dom.text(BOOLEAN_ATTR[param.name] ? '' : '="..."');
457-
dom.text(param.optional ? ']' : '');
458-
});
459-
dom.text('>');
460-
});
461-
self.html_usage_parameters(dom);
462-
});
463-
},
464-
465449
html_usage_directiveInfo: function(dom) {
466450
var self = this;
467451
var list = [];
@@ -660,8 +644,6 @@ var KEYWORD_PRIORITY = {
660644
'.angular.module.ng': 7,
661645
'.angular.mock': 8,
662646
'.angular.directive': 6,
663-
'.angular.inputType': 6,
664-
'.angular.widget': 6,
665647
'.angular.module.ngMock': 8,
666648
'.dev_guide.overview': 1,
667649
'.dev_guide.bootstrap': 2,

src/directive/input.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var NUMBER_REGEXP = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/;
77
var inputType = {
88

99
/**
10-
* @ngdoc inputType
10+
* @ngdoc directive
1111
* @name angular.module.ng.$compileProvider.directive.input.text
1212
*
1313
* @description
@@ -73,7 +73,7 @@ var inputType = {
7373

7474

7575
/**
76-
* @ngdoc inputType
76+
* @ngdoc directive
7777
* @name angular.module.ng.$compileProvider.directive.input.number
7878
*
7979
* @description
@@ -141,7 +141,7 @@ var inputType = {
141141

142142

143143
/**
144-
* @ngdoc inputType
144+
* @ngdoc directive
145145
* @name angular.module.ng.$compileProvider.directive.input.url
146146
*
147147
* @description
@@ -206,7 +206,7 @@ var inputType = {
206206

207207

208208
/**
209-
* @ngdoc inputType
209+
* @ngdoc directive
210210
* @name angular.module.ng.$compileProvider.directive.input.email
211211
*
212212
* @description
@@ -269,7 +269,7 @@ var inputType = {
269269

270270

271271
/**
272-
* @ngdoc inputType
272+
* @ngdoc directive
273273
* @name angular.module.ng.$compileProvider.directive.input.radio
274274
*
275275
* @description
@@ -310,7 +310,7 @@ var inputType = {
310310

311311

312312
/**
313-
* @ngdoc inputType
313+
* @ngdoc directive
314314
* @name angular.module.ng.$compileProvider.directive.input.checkbox
315315
*
316316
* @description

0 commit comments

Comments
 (0)