Improve preset searching

Add preset searching of terms
Add more synonyms, improve matching - levenstein for terms too.
This commit is contained in:
Tom MacWright
2013-03-06 16:40:04 -05:00
parent bd3302611e
commit 662cfeb576
50 changed files with 1083 additions and 486 deletions
+5 -2
View File
@@ -194,8 +194,11 @@
var id = iD();
iD.util.asyncMap(['keys.json', 'presets/presets.json', 'presets/defaults.json',
'presets/categories.json', 'presets/forms.json'], d3.json, function(err, data) {
iD.util.asyncMap(['keys.json',
'data/presets/presets.json',
'data/presets/defaults.json',
'data/presets/categories.json',
'data/presets/forms.json'], d3.json, function(err, data) {
id.connection()
.keys(data[0]);