Return emoji object in search results

release
Etienne Lemay 2016-07-18 15:13:23 -04:00
parent 87d3228d0d
commit b07e598a8a
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ function search(value, maxResults = 75) {
if (value.length) {
results = index.search(tokenize(value)).map((result) =>
result.ref
data.emojis[result.ref]
)
results = results.slice(0, maxResults)