mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Clean up old code
This commit is contained in:
parent
ea0b445f74
commit
3c68db2265
1 changed files with 0 additions and 55 deletions
|
|
@ -596,61 +596,6 @@ export default {
|
|||
})
|
||||
|
||||
console.log('storkQuery.results', storkQuery.results)
|
||||
|
||||
|
||||
// Search App List
|
||||
// this.appList.filter( app => {
|
||||
// const filters = [
|
||||
// {
|
||||
// key: 'status',
|
||||
// method: this.statusIs,
|
||||
// queryArg: statusText
|
||||
// }
|
||||
// ]
|
||||
|
||||
// // Does this app match every active filter
|
||||
// const filtersMatched = filters.every( ({ key, method, queryArg }) => {
|
||||
// // If the query does not contain the key for the filter
|
||||
// // then filter automatically passes
|
||||
// if (queryArg.includes(key) === false) return true
|
||||
|
||||
// // console.log(queryArg, 'method', method)
|
||||
// return method(queryArg, app)
|
||||
// })
|
||||
|
||||
// return filtersMatched
|
||||
// }).forEach(app => {
|
||||
// // console.log('app', app)
|
||||
|
||||
// const matchers = [
|
||||
// {
|
||||
// method: this.titleStartsWith,
|
||||
// queryArg: query
|
||||
// },
|
||||
// {
|
||||
// method: this.titleContains,
|
||||
// queryArg: query
|
||||
// },
|
||||
// {
|
||||
// method: this.categoryContains,
|
||||
// queryArg: query
|
||||
// }
|
||||
// ]
|
||||
|
||||
// // Run through our search priorities
|
||||
// for (const { method, queryArg } of matchers){
|
||||
// // iterations++
|
||||
// const appMatches = method(queryArg, app)
|
||||
// if (appMatches) {
|
||||
// // We've found a match for this app
|
||||
// // so let's stop trying match methods
|
||||
// // and search the next app
|
||||
// break
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
// console.log('query', query)
|
||||
// console.log('iterations', iterations)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue