Skip to content

Commit

Permalink
Commented console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
krisk committed Mar 9, 2020
1 parent b4e2b71 commit 4271550
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"email": "[email protected]",
"url": "http://kiro.me"
},
"version": "3.6.0",
"version": "3.6.1",
"description": "Lightweight fuzzy-search",
"license": "Apache-2.0",
"repository": {
Expand Down
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class Fuse {

// Otherwise, the first item is an Object (hopefully), and thus the searching
// is done on the values of the keys of each item.
console.time('_search');
// console.time('_search');
for (let i = 0, len = list.length; i < len; i += 1) {
let item = list[i]
// Iterate over every key
Expand All @@ -229,8 +229,7 @@ class Fuse {
})
}
}

console.timeEnd('_search');
// console.timeEnd('_search');

return results
}
Expand Down

0 comments on commit 4271550

Please sign in to comment.