Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 3e506a2

Browse files
author
belghi_o
committed
add comment
1 parent 60daf87 commit 3e506a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/parser.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var ParameterError = require('./errors/parameter_error');
1010
var ParserError = require('./errors/parser_error');
1111

1212
var app = {};
13-
var filterTag = null;
13+
var filterTag = null; // define the tag to filter by
1414

1515
function Parser(_app) {
1616
var self = this;
@@ -453,6 +453,7 @@ Parser.prototype._findBlockWithApiGetIndex = function(blocks) {
453453
found = true;
454454
}
455455

456+
// add block if it's apidefine or the tag is equale to the value defined in options.
456457
if (filterTag) {
457458
found = found && (isToFilterBy || isDefine);
458459
}

0 commit comments

Comments
 (0)