Skip to content

Commit

Permalink
fix(docs): directive events + cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Mar 9, 2012
1 parent 5d09a1e commit 8fb34f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 26 deletions.
22 changes: 2 additions & 20 deletions docs/src/ngdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,8 @@ Doc.prototype = {
self.html_usage_directiveInfo(dom);
self.html_usage_parameters(dom);
});

self.method_properties_events(dom);
},

html_usage_filter: function(dom){
Expand Down Expand Up @@ -444,24 +446,6 @@ Doc.prototype = {
});
},

html_usage_inputType: function(dom){
var self = this;
dom.h('Usage', function() {
dom.code(function() {
dom.text('<input type="' + self.shortName + '"');
(self.param||[]).forEach(function(param){
dom.text('\n ');
dom.text(param.optional ? ' [' : ' ');
dom.text(param.name);
dom.text(BOOLEAN_ATTR[param.name] ? '' : '="..."');
dom.text(param.optional ? ']' : '');
});
dom.text('>');
});
self.html_usage_parameters(dom);
});
},

html_usage_directiveInfo: function(dom) {
var self = this;
var list = [];
Expand Down Expand Up @@ -660,8 +644,6 @@ var KEYWORD_PRIORITY = {
'.angular.module.ng': 7,
'.angular.mock': 8,
'.angular.directive': 6,
'.angular.inputType': 6,
'.angular.widget': 6,
'.angular.module.ngMock': 8,
'.dev_guide.overview': 1,
'.dev_guide.bootstrap': 2,
Expand Down
12 changes: 6 additions & 6 deletions src/directive/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var NUMBER_REGEXP = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/;
var inputType = {

/**
* @ngdoc inputType
* @ngdoc directive
* @name angular.module.ng.$compileProvider.directive.input.text
*
* @description
Expand Down Expand Up @@ -73,7 +73,7 @@ var inputType = {


/**
* @ngdoc inputType
* @ngdoc directive
* @name angular.module.ng.$compileProvider.directive.input.number
*
* @description
Expand Down Expand Up @@ -141,7 +141,7 @@ var inputType = {


/**
* @ngdoc inputType
* @ngdoc directive
* @name angular.module.ng.$compileProvider.directive.input.url
*
* @description
Expand Down Expand Up @@ -206,7 +206,7 @@ var inputType = {


/**
* @ngdoc inputType
* @ngdoc directive
* @name angular.module.ng.$compileProvider.directive.input.email
*
* @description
Expand Down Expand Up @@ -269,7 +269,7 @@ var inputType = {


/**
* @ngdoc inputType
* @ngdoc directive
* @name angular.module.ng.$compileProvider.directive.input.radio
*
* @description
Expand Down Expand Up @@ -310,7 +310,7 @@ var inputType = {


/**
* @ngdoc inputType
* @ngdoc directive
* @name angular.module.ng.$compileProvider.directive.input.checkbox
*
* @description
Expand Down

0 comments on commit 8fb34f0

Please sign in to comment.