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

Commit 2a3c09f

Browse files
author
BELGHITI ALAOUI Omar
committed
fix jshint
1 parent 5cf12fd commit 2a3c09f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/parser.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function Parser(_app) {
5353

5454
if (app.options.filterBy) {
5555
var tag = app.options.filterBy.split('=')[0];
56-
filterTag = (tag.indexOf('api') != -1) ? tag : null;
56+
filterTag = (tag.indexOf('api') !== -1) ? tag : null;
5757
}
5858
}
5959

@@ -416,11 +416,11 @@ Parser.prototype._findBlocks = function() {
416416
*/
417417
Parser.prototype._findBlockWithApiGetIndex = function(blocks) {
418418
var foundIndexes = [];
419-
const valueTofilter = (filterTag) ? app.options.filterBy.split('=')[1] : null;
419+
var valueTofilter = (filterTag) ? app.options.filterBy.split('=')[1] : null;
420420
for (var i = 0; i < blocks.length; i += 1) {
421421
var found = false;
422-
let isToFilterBy = false;
423-
let isDefine = false;
422+
var isToFilterBy = false;
423+
var isDefine = false;
424424
for (var j = 0; j < blocks[i].length; j += 1) {
425425
// check apiIgnore
426426
if (blocks[i][j].name.substr(0, 9) === 'apiignore') {

0 commit comments

Comments
 (0)