Commit c57e028847be85bc8028acce68260d8c8a64718c
tidy
mix irving committed on 1/31/2018, 11:03:43 AMParent: 6b51ef76387825aa524424f71d8d722fa7eba2cf
Files changed
about/async/suggest.js | changed |
about/async/suggest.js | |||
---|---|---|---|
@@ -166,11 +166,9 @@ | |||
166 | 166 … | } | |
167 | 167 … | } | |
168 | 168 … | ||
169 | 169 … | function normalise (word) { | |
170 | - // TODO - this shouldn't need a reslve. | ||
171 | - // It's generated by buildSuggestion title, but not pluralSuggestions title | ||
172 | - return resolve(word).toLowerCase().replace(/(\s|-)/g, '') | ||
170 … | + return word.toLowerCase().replace(/(\s|-)/g, '') | ||
173 | 171 … | } | |
174 | 172 … | ||
175 | 173 … | function mention (name, id) { | |
176 | 174 … | return `[@${name}](${id})` |
Built with git-ssb-web