This repository was archived by the owner on Sep 6, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ function Parser(_app) {
51
51
}
52
52
} ) ;
53
53
54
- // check app.options.filterBy and define the tag to filer by
54
+ // check app.options.filterBy and define the tag to filter by
55
55
if ( app . options . filterBy ) {
56
56
var tag = app . options . filterBy . split ( '=' ) [ 0 ] ;
57
57
filterTag = ( tag . indexOf ( 'api' ) !== - 1 ) ? tag : null ;
@@ -438,7 +438,7 @@ Parser.prototype._findBlockWithApiGetIndex = function(blocks) {
438
438
break ;
439
439
}
440
440
441
- // check if the user want to filter by some specifique tag
441
+ // check if the user want to filter by some specific tag
442
442
if ( filterTag ) {
443
443
// we need to add all apidefine
444
444
if ( blocks [ i ] [ j ] . name . substr ( 0 , 9 ) === 'apidefine' ) {
@@ -453,7 +453,7 @@ Parser.prototype._findBlockWithApiGetIndex = function(blocks) {
453
453
found = true ;
454
454
}
455
455
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
457
457
if ( filterTag ) {
458
458
found = found && ( isToFilterBy || isDefine ) ;
459
459
}
You can’t perform that action at this time.
0 commit comments