Skip to content
This repository has been archived by the owner on Jan 23, 2022. It is now read-only.

Commit

Permalink
feat(ngdocs): hide param.property in all usage examples
Browse files Browse the repository at this point in the history
optimize change of 5e3c402
  • Loading branch information
m7r committed Aug 9, 2013
1 parent 173d8f3 commit 3ba0464
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ngdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ Doc.prototype = {
var sep = prefix ? separator : '';
(this.param||[]).forEach(function(param, i){
if (!(skipFirst && i==0)) {
if (param.isProperty) { return; }
if (param.optional) {
dom.text('[' + sep + param.name + ']');
} else {
Expand Down

0 comments on commit 3ba0464

Please sign in to comment.