Skip to content

Commit

Permalink
rm trash code
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimVovk committed Oct 7, 2019
1 parent 3437a36 commit 885d5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const dictionary = require('./dictionary')
function transliterationSorting (list, field, languages = 'en_ru') {
const vocabruary = getDictionary(languages)
const tr = translit(vocabruary)
console.log(list.map(it => ({ ...it, translit: tr(it[field]) })).sort(compare))

return list.map(it => ({ ...it, translit: tr(it[field]) })).sort(compare)
}

Expand Down

0 comments on commit 885d5fa

Please # to comment.