emoji picker: minor fixes

This commit is contained in:
Valery Sizov 2015-12-22 17:15:25 +02:00 committed by Valery Sizov
parent dfd76c33d9
commit e5eb700d5e
1 changed files with 0 additions and 8 deletions

View File

@ -45,14 +45,6 @@ class AwardEmoji
food_drink: "Food"
}.with_indifferent_access
def self.positions_by_name(name)
emoji = emojis_json.find do |emoji|
emoji["short_names"].include?(name)
end
[emoji["sheet_x"], emoji["sheet_y"]]
end
def self.normilize_emoji_name(name)
ALIASES[name] || name
end