pixelEditor coming along
This commit is contained in:
parent
5d7d297050
commit
12a22cf55c
3 changed files with 49 additions and 15 deletions
|
|
@ -96,7 +96,9 @@ export const _rt = {
|
|||
_tag: (typeof obj === 'object' && obj !== null && field in obj) ? 'True' : 'False'
|
||||
}),
|
||||
storeSearch: (query: string) => {
|
||||
return Object.keys(store).filter(name => _rt.fuzzyMatch(query)(name)._tag === 'True');
|
||||
return Object.keys(store)
|
||||
.filter(name => _rt.fuzzyMatch(query)(name)._tag === 'True')
|
||||
.sort((a, b) => a.length - b.length);
|
||||
},
|
||||
getSource: (name: string) => {
|
||||
const ast = definitions.get(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue