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

Commit a6e49dd

Browse files
author
belghi_o
committed
fix comments
1 parent 3e506a2 commit a6e49dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/parser.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function Parser(_app) {
5151
}
5252
});
5353

54-
// check app.options.filterBy and define the tag to filer by
54+
// check app.options.filterBy and define the tag to filter by
5555
if (app.options.filterBy) {
5656
var tag = app.options.filterBy.split('=')[0];
5757
filterTag = (tag.indexOf('api') !== -1) ? tag : null;
@@ -438,7 +438,7 @@ Parser.prototype._findBlockWithApiGetIndex = function(blocks) {
438438
break;
439439
}
440440

441-
// check if the user want to filter by some specifique tag
441+
// check if the user want to filter by some specific tag
442442
if (filterTag) {
443443
// we need to add all apidefine
444444
if (blocks[i][j].name.substr(0, 9) === 'apidefine') {
@@ -453,7 +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.
456+
// add block if it's apidefine or the tag is equal to the value defined in options
457457
if (filterTag) {
458458
found = found && (isToFilterBy || isDefine);
459459
}

0 commit comments

Comments
 (0)