Skip to content

Commit

Permalink
ignore module deps in --api
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 1, 2012
1 parent 59ba3e5 commit 1d59fde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = function(comments){
var ctx = comment.ctx;
var desc = comment.description;
if (!ctx) return;
if (~desc.full.indexOf('Module dependencies')) return;
if (!ctx.string.indexOf('module.exports')) return;
buf.push('## ' + ctx.string.replace('.prototype.', '#'));
buf.push('');
Expand Down

0 comments on commit 1d59fde

Please sign in to comment.