Skip to content

Commit

Permalink
working towards 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
farzher committed May 23, 2022
1 parent 3f990f7 commit a18a190
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
12 changes: 0 additions & 12 deletions .npmignore

This file was deleted.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@
"repository": {
"type": "git",
"url": "https://github.com/farzher/fuzzysort.git"
}
},
"files": [
"fuzzysort.js",
"fuzzysort.min.js",
"index.d.ts"
]
}
4 changes: 1 addition & 3 deletions test.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@
search() {
document.getElementById('input').focus()

const search = vue.input.toLowerCase()

const startms = getms()
vue.results = fuzzysort.go(search, testdata_prepared[vue.testdatakey])
vue.results = fuzzysort.go(vue.input.toLowerCase(), testdata_prepared[vue.testdatakey])
vue.duration = formatnumber(getms()-startms)
},
},
Expand Down

0 comments on commit a18a190

Please # to comment.