mirror of https://github.com/zulip/zulip.git
36 lines
22 KiB
JavaScript
36 lines
22 KiB
JavaScript
var emoji = (function () {
|
|
|
|
var exports = {};
|
|
|
|
exports.emojis = [];
|
|
exports.emojis_by_name = {};
|
|
|
|
var default_emojis = [];
|
|
|
|
var emoji_names = ["+1", "-1", "100", "1234", "8ball", "a", "a_button", "ab", "ab_button", "abc", "abcd", "accept", "admission_tickets", "aerial_tramway", "airplane", "airplane_arrival", "airplane_departure", "alarm_clock", "alien", "alien_monster", "ambulance", "american_football", "amphora", "anchor", "angel", "anger", "anger_symbol", "angry", "angry_face", "anguished", "anguished_face", "ant", "antenna_bars", "anticlockwise_arrows_button", "apple", "aquarius", "aries", "arrow_backward", "arrow_double_down", "arrow_double_up", "arrow_down", "arrow_down_small", "arrow_forward", "arrow_heading_down", "arrow_heading_up", "arrow_left", "arrow_lower_left", "arrow_lower_right", "arrow_right", "arrow_right_hook", "arrow_up", "arrow_up_down", "arrow_up_small", "arrow_upper_left", "arrow_upper_right", "arrows_clockwise", "arrows_counterclockwise", "art", "articulated_lorry", "artist_palette", "astonished", "astonished_face", "athletic_shoe", "atm", "atm_sign", "atom_symbol", "automobile", "b", "b_button", "baby", "baby_angel", "baby_bottle", "baby_chick", "baby_symbol", "back", "back_arrow", "backhand_index_pointing_down", "backhand_index_pointing_left", "backhand_index_pointing_right", "backhand_index_pointing_up", "badminton", "baggage_claim", "balloon", "ballot_box_with_ballot", "ballot_box_with_check", "bamboo", "banana", "bangbang", "bank", "bar_chart", "barber", "barber_pole", "baseball", "basketball", "bath", "bathtub", "battery", "beach_with_umbrella", "bear", "bear_face", "beating_heart", "bed", "bee", "beer", "beer_mug", "beers", "beetle", "beginner", "bell", "bell_with_slash", "bellhop_bell", "bento", "bento_box", "bicycle", "bicyclist", "bike", "bikini", "billiards", "bird", "birthday", "birthday_cake", "black_circle", "black_joker", "black_large_square", "black_medium_small_square", "black_medium_square", "black_nib", "black_small_square", "black_square_button", "blossom", "blowfish", "blue_book", "blue_car", "blue_circle", "blue_heart", "blush", "boar", "boat", "bomb", "book", "bookmark", "bookmark_tabs", "books", "boom", "boot", "bottle_with_popping_cork", "bouquet", "bow", "bow_and_arrow", "bowling", "boy", "bread", "bride_with_veil", "bridge_at_night", "briefcase", "bright_button", "broken_heart", "bug", "building_construction", "bulb", "bullettrain_front", "bullettrain_side", "burrito", "bus", "bus_stop", "busstop", "bust_in_silhouette", "busts_in_silhouette", "cactus", "cake", "calendar", "calling", "camel", "camera", "camera_with_flash", "camping", "cancer", "candle", "candy", "capital_abcd", "capricorn", "car", "card_file_box", "card_index", "card_index_dividers", "carousel_horse", "carp_streamer", "castle", "cat", "cat2", "cat_face", "cat_face_with_tears_of_joy", "cat_face_with_wry_smile", "cd", "chains", "chart", "chart_decreasing", "chart_increasing", "chart_increasing_with_yen", "chart_with_downwards_trend", "chart_with_upwards_trend", "checkered_flag", "cheese_wedge", "chequered_flag", "cherries", "cherry_blossom", "chestnut", "chicken", "children_crossing", "chipmunk", "chocolate_bar", "christmas_tree", "church", "cinema", "circled_accept_ideograph", "circled_advantage_ideograph", "circled_letter_m", "circus_tent", "city_sunrise", "city_sunset", "cityscape", "cityscape_at_dusk", "cl", "clap", "clapper", "clapper_board", "clapping_hands", "classical_building", "clinking_beer_mugs", "clipboard", "clock1", "clock10", "clock1030", "clock11", "clock1130", "clock12", "clock1230", "clock130", "clock2", "clock230", "clock3", "clock330", "clock4", "clock430", "clock5", "clock530", "clock6", "clock630", "clock7", "clock730", "clock8", "clock830", "clock9", "clock930", "clockwise_vertical_arrows", "closed_book", "closed_lock_with_key", "closed_mailbox_with_lowered_flag", "closed_mailbox_with_raised_flag", "closed_umbrella", "cloud", "cloud_with_lightning", "cloud_with_lightning_and_rain", "cloud_with_rain", "cloud_with_snow", "clubs", "cn", "cocktail", "cocktail_glass", "coffee", "coffin", "cold_sweat", "collision", "compression", "computer", "computer_mouse", "confetti_ball", "confounded", "confounded_face", "confused", "confused_face", "congratulations", "construction", "construction_worker", "control_knobs", "convenience_store", "cooked_rice", "cookie", "cooking", "cool", "cop", "copyright", "corn", "couch_and_lamp", "couple", "couple_with_heart", "couplekiss", "cow", "cow2", "cow_face", "crab", "crayon", "credit_card", "crescent_moon", "cricket", "crocodile", "cross_mark", "cross_mark_button", "crossed_flags", "crown", "cry", "crying_cat_face", "crying_face", "crystal_ball", "cupid", "curly_loop", "currency_exchange", "curry", "curry_rice", "custard", "customs", "cyclone", "dagger", "dancer", "dancers", "dango", "dart", "dash", "dashing", "date", "de", "deciduous_tree", "delivery_truck", "department_store", "derelict_house_building", "desert", "desert_island", "desktop_computer", "detective", "diamond_shape_with_a_dot_inside", "diamond_with_a_dot", "diamonds", "dim_button", "direct_hit", "disappointed", "disappointed_but_relieved_face", "disappointed_face", "disappointed_relieved", "dizzy", "dizzy_face", "do_not_litter", "dog", "dog2", "dog_face", "dollar", "dollar_banknote", "dolls", "dolphin", "door", "dotted_six_pointed_star", "double_curly_loop", "double_exclamation_mark", "doughnut", "dove", "down_arrow", "down_button", "dragon", "dragon_face", "dress", "dromedary_camel", "droplet", "dvd", "e-mail", "e_mail", "ear", "ear_of_corn", "ear_of_rice", "earth_africa", "earth_americas", "earth_asia", "egg", "eggplant", "eight", "eight_oclock", "eight_pointed_black_star", "eight_spoked_asterisk", "eight_thirty", "eject_button", "electric_plug", "elephant", "eleven_oclock", "eleven_thirty", "email", "end", "end_arrow", "envelope", "envelope_with_arrow", "es", "euro", "euro_banknote", "european_castle", "european_post_office", "evergreen", "evergreen_tree", "exclamation", "expressionless", "expressionless_face", "eye", "eyeglasses", "eyes", "face_massage", "face_savouring_delicious_food", "face_screaming_in_fear", "face_throwing_a_kiss", "face_with_cold_sweat", "face_with_head_bandage", "face_with_medical_mask", "face_with_open_mouth", "face_with_open_mouth_and_cold_sweat", "face_with_rolling_eyes", "face_with_steam_from_nose", "face_with_stuck_out_tongue", "face_with_stuck_out_tongue_and_tightly_closed_eyes", "face_with_stuck_out_tongue_and_winking_eye", "face_with_tears_of_joy", "face_with_thermometer", "face_without_mouth", "facepunch", "factory", "fallen_leaf", "family", "fast_down_button", "fast_forward", "fast_forword_button", "fast_reverse_button", "fast_up_button", "fax", "fax_machine", "fearful", "fearful_face", "feet", "ferris_wheel", "ferry", "field_hockey", "file_cabinet", "file_folder", "film_frames", "film_projector", "fire", "fire_engine", "fireworks", "first_quarter_moon", "first_quarter_moon_with_face", "fish", "fish_cake", "fish_cake_with_swirl", "fishing_pole", "fishing_pole_and_fish", "fist", "five", "five_oclock", "five_thirty", "flag_in_hole", "flags", "flashlight", "fleur_de_lis", "flexed_biceps", "flipper", "floppy_disk", "flower_playing_cards", "flushed", "flushed_face", "fog", "foggy", "folded_hands", "football", "footprints", "fork_and_knife", "fork_and_knife_with_plate", "fountain", "fountain_pen", "four", "four_leaf_clover", "four_oclock", "four_thirty", "fr", "frame_with_picture", "free", "french_fries", "fried_shrimp", "fries", "frog", "frog_face", "front_facing_baby_chick", "frowning", "frowning_face_with_open_mouth", "fuel_pump", "fuelpump", "full_moon", "full_moon_with_face", "funeral_urn", "game_die", "gb", "gem", "gem_stone", "gemini", "gesturing_no", "gesturing_ok", "ghost", "gift", "gift_heart", "girl", "glasses", "globe_showing_americas", "globe_showing_asia_australia", "globe_showing_europe_africa", "globe_with_meridians", "glowing_star", "goat", "goblin", "golf", "golfer", "graduation_cap", "grapes", "green_apple", "green_book", "green_heart", "grey_exclamation", "grey_question", "grimacing", "grimacing_face", "grin", "grinning", "grinning_cat_face_with_smiling_eyes", "grinning_face", "grinning_face_with_smiling_eyes", "growing_heart", "guardsman", "guitar", "gun", "haircut", "hamburger", "hammer", "hammer_and_wrench", "hamster", "hamster_face", "hand", "handbag", "hankey", "happy_person_raising_hand", "hash", "hatched_chick", "hatching_chick", "headphone", "headphones", "hear_no_evil", "heart", "heart_decoration", "heart_eyes", "heart_eyes_cat", "heart_with_arrow", "heart_with_ribbon", "heartbeat", "heartpulse", "hearts", "heavy_check_mark", "heavy_division_sign", "heavy_dollar_sign", "heavy_exclamation_mark", "heavy_large_circle", "heavy_minus_sign", "heavy_multiplication_x", "heavy_plus_sign", "helicopter", "helmet_with_white_cross", "herb", "hibiscus", "high_brightness", "high_heel", "high_heeled_shoe", "high_speed_train", "high_speed_train_with_bullet_nose", "high_voltage", "hocho", "hole", "honey_pot", "honeybee", "horizontal_traffic_light", "horse", "horse_face", "horse_racing", "hospital", "hot_dog", "hot_pepper", "hotel", "hotsprings", "hourglass", "hourglass_flowing_sand", "hourglass_with_flowing_sand", "house", "house_building", "house_buildings", "house_with_garden", "hugging_face", "hundred_points", "hushed", "hushed_face", "ice_cream", "ice_hockey_stick_and_puck", "ice_skate", "icecream", "id", "ideograph_advantage", "imp", "inbox_tray", "incoming_envelope", "index_pointing_up", "information_desk_person", "information_source", "innocent", "input_latin_letters", "input_latin_lowercase", "input_latin_uppercase", "input_numbers", "input_symbols", "interrobang", "iphone", "it", "izakaya_lantern", "jack_o_lantern", "japan", "japanese_castle", "japanese_dolls", "japanese_goblin", "japanese_ogre", "japanese_post_office", "japanese_symbol_for_beginner", "jeans", "joker", "joy", "joy_cat", "joystick", "jp", "kaaba", "key", "keycap_ten", "kimono", "kiss", "kiss_mark", "kissing", "kissing_cat", "kissing_cat_face_with_closed_eyes", "kissing_closed_eyes", "kissing_face", "kissing_face_with_closed_eyes", "kissing_face_with_smiling_eyes", "kissing_heart", "kissing_smiling_eyes", "kitchen_knife", "knife", "koala", "koko", "kr", "label", "lady_beetle", "lantern", "laptop_computer", "large_blue_circle", "large_blue_diamond", "large_orange_diamond", "last_quarter_moon", "last_quarter_moon_with_face", "last_track_button", "latin_cross", "laughing", "leaf_fluttering_in_wind", "leaves", "ledger", "left_arrow", "left_arrow_curving_right", "left_luggage", "left_pointing_magnifying_glass", "left_right_arrow", "left_speech_bubble", "leftwards_arrow_with_hook", "lemon", "leo", "leopard", "level_slider", "libra", "light_bulb", "light_rail", "link", "linked_paperclips", "lion_face", "lips", "lipstick", "litter_in_bin_sign", "lock", "lock_with_ink_pen", "lock_with_pen", "locomotive", "lollipop", "loop", "loud_sound", "loudly_crying_face", "loudspeaker", "love_hotel", "love_letter", "low_brightness", "m", "mag", "mag_right", "mahjong", "mahjong_red_dragon", "mailbox", "mailbox_closed", "mailbox_with_mail", "mailbox_with_no_mail", "man", "man_and_woman_holding_hands", "man_in_business_suit_levitating", "man_with_chinese_cap", "man_with_gua_pi_mao", "man_with_turban", "mans_shoe", "mantelpiece_clock", "map_of_japan", "maple_leaf", "mask", "massage", "meat_on_bone", "mega", "megaphone", "melon", "memo", "menorah", "mens", "mens_room", "metro", "microphone", "microscope", "middle_finger", "military_medal", "milky_way", "minibus", "minidisc", "moai", "mobile_phone", "mobile_phone_off", "mobile_phone_with_arrow", "money_bag", "money_mouth_face", "money_with_wings", "moneybag", "monkey", "monkey_face", "monorail", "moon", "moon_ceremony", "mortar_board", "mosque", "motor_boat", "motorcycle", "motorway", "mount_fuji", "mountain", "mountain_bicyclist", "mountain_biker", "mountain_cableway", "mountain_railway", "mouse", "mouse2", "mouse_face", "mouth", "movie_camera", "moyai", "muscle", "mushroom", "musical_keyboard", "musical_note", "musical_notes", "musical_score", "mute", "nail_care", "nail_polish", "name_badge", "national_park", "necktie", "negative_squared_cross_mark", "nerd_face", "neutral_face", "new", "new_moon", "new_moon_face", "new_moon_with_face", "newspaper", "next_track_button", "ng", "night_with_stars", "nine", "nine_oclock", "nine_thirty", "no_bell", "no_bicycles", "no_entry", "no_entry_sign", "no_good", "no_littering", "no_mobile_phones", "no_mouth", "no_one_under_eighteen", "no_pedestrians", "no_smoking", "non-potable_water", "non_potable_water", "nose", "notebook", "notebook_with_decorative_cover", "notes", "nut_and_bolt", "o", "o2", "o_button", "ocean", "octopus", "oden", "office", "office_building", "ogre", "oil_drum", "ok", "ok_hand", "ok_woman", "old_key", "old_man", "old_woman", "older_man", "older_woman", "om", "on", "on_arrow", "oncoming_automobile", "oncoming_bus", "oncoming_fist", "oncoming_police_car", "oncoming_taxi", "one", "one_oclock", "one_thirty", "open_book", "open_file_folder", "open_hands", "open_lock", "open_mailbox_with_lowered_flag", "open_mailbox_with_raised_flag", "open_mouth", "ophiuchus", "optical_disc", "orange_book", "outbox_tray", "ox", "p_button", "package", "page_facing_up", "page_with_curl", "pager", "paintbrush", "palm_tree", "panda_face", "paperclip", "parking", "part_alternation_mark", "partly_sunny", "party_popper", "passenger_ship", "passport_control", "pause_button", "paw_prints", "peace_symbol", "peach", "pear", "pedestrian", "pen", "pencil", "pencil2", "penguin", "pensive", "pensive_face", "performing_arts", "persevere", "persevering_face", "person_bowing", "person_frowning", "person_in_bed", "person_pouting", "person_raising_hands", "person_taking_bath", "person_with_ball", "person_with_blond_hair", "person_with_pouting_face", "phone", "pick", "pig", "pig2", "pig_face", "pig_nose", "pile_of_poo", "pill", "pine_decoration", "pineapple", "ping_pong", "pisces", "pistol", "pizza", "place_of_worship", "play_button", "play_or_pause_button", "point_down", "point_left", "point_right", "point_up", "point_up_2", "police_car", "police_cars_light", "police_officer", "poodle", "poop", "popcorn", "post_office", "postal_horn", "postbox", "pot_of_food", "potable_water", "pouch", "poultry_leg", "pound", "pound_banknote", "pouting_cat", "pouting_cat_face", "pouting_face", "pray", "prayer_beads", "princess", "printer", "prohibited", "punch", "purple_heart", "purse", "pushpin", "put_litter_in_its_place", "question", "rabbit", "rabbit2", "rabbit_face", "racehorse", "racing_car", "radio", "radio_button", "rage", "railway_car", "railway_track", "rainbow", "raised_fist", "raised_hand", "raised_hand_with_fingers_splayed", "raised_hands", "raising_hand", "ram", "ramen", "rat", "record_button", "recreational_vehicle", "recycle", "recycling_symbol", "red_apple", "red_car", "red_circle", "red_paper_lantern", "red_triangle_pointed_down", "red_triangle_pointed_up", "registered", "relaxed", "relieved", "relieved_face", "reminder_ribbon", "repeat", "repeat_button", "repeat_one", "repeat_single_button", "restroom", "reverse_button", "revolving_hearts", "rewind", "ribbon", "rice", "rice_ball", "rice_cracker", "rice_scene", "right_anger_bubble", "right_arrow", "right_arrow_curving_left", "right_pointing_magnifying_glass", "ring", "roasted_sweet_potato", "robot_face", "rocket", "rolled_up_newspaper", "roller_coaster", "rooster", "rose", "rosette", "rotating_light", "round_pushpin", "rowboat", "ru", "rugby_football", "runner", "running", "running_shirt", "running_shirt_with_sash", "running_shoe", "sa", "sagittarius", "sailboat", "sake", "sandal", "santa", "santa_claus", "satellite", "satellite_antenna", "satisfied", "saxophone", "school", "school_backpack", "school_satchel", "scissors", "scorpion", "scorpius", "scream", "scream_cat", "scroll", "seat", "secret", "see_no_evil", "seedling", "seven", "seven_oclock", "seven_thirty", "shaved_ice", "sheaf_of_rice", "sheep", "shell", "shield", "shinto_shrine", "ship", "shirt", "shit", "shoe", "shooting_star", "shopping_bags", "shortcake", "shower", "shuffle_tracks_button", "sign_of_the_horns", "signal_strength", "simple_smile", "six", "six_oclock", "six_pointed_star", "six_thirty", "ski", "skier", "skis", "skull", "sleeping", "sleeping_face", "sleepy", "sleepy_face", "slightly_frowning_face", "slightly_smiling_face", "slot_machine", "small_airplane", "small_blue_diamond", "small_orange_diamond", "small_red_triangle", "small_red_triangle_down", "smile", "smile_cat", "smiley", "smiley_cat", "smiling_cat_face_with_heart_shaped_eyes", "smiling_cat_face_with_open_mouth", "smiling_face", "smiling_face_with_halo", "smiling_face_with_heart_shaped_eyes", "smiling_face_with_horns", "smiling_face_with_open_mouth", "smiling_face_with_open_mouth_and_cold_sweat", "smiling_face_with_open_mouth_and_smiling_eyes", "smiling_face_with_open_mouth_and_tightly_closed_eyes", "smiling_face_with_smiling_eyes", "smiling_face_with_sunglasses", "smiling_imp", "smirk", "smirk_cat", "smirking_face", "smoking", "snail", "snake", "snow_capped_mountain", "snowboarder", "snowflake", "snowman", "snowman_without_snow", "sob", "soccer", "soccer_ball", "soft_ice_cream", "soon", "soon_arrow", "sos", "sound", "space_invader", "spades", "spaghetti", "sparkle", "sparkler", "sparkles", "sparkling_heart", "speak_no_evil", "speaker", "speaker_loud", "speaker_off", "speaker_on", "speaking_head", "speech_balloon", "speedboat", "spider", "spider_web", "spiral_calendar", "spiral_notepad", "spiral_shell", "sports_medal", "spouting_whale", "squared_apply_ideograph", "squared_cl", "squared_cool", "squared_divide_ideograph", "squared_empty_ideograph", "squared_exist_ideograph", "squared_finger_ideograph", "squared_free", "squared_fullness_ideograph", "squared_id", "squared_katakana_koko", "squared_katakana_sa", "squared_moon_ideograph", "squared_negation_ideograph", "squared_new", "squared_ng", "squared_ok", "squared_operating_ideograph", "squared_prohibit_ideograph", "squared_sos", "squared_together_ideograph", "squared_vs", "stadium", "star", "star2", "star_and_crescent", "stars", "station", "statue_of_liberty", "steam_locomotive", "steaming_bowl", "stew", "stop_button", "stopwatch", "straight_ruler", "strawberry", "stuck_out_tongue", "stuck_out_tongue_closed_eyes", "stuck_out_tongue_winking_eye", "studio_microphone", "sun_behind_cloud", "sun_behind_cloud_with_rain", "sun_behind_large_cloud", "sun_behind_small_cloud", "sun_with_face", "sunflower", "sunglasses", "sunny", "sunrise", "sunrise_over_mountains", "sunset", "surfer", "sushi", "suspension_railway", "sweat", "sweat_droplets", "sweat_drops", "sweat_smile", "sweet_potato", "swimmer", "symbols", "synagogue", "syringe", "t_shirt", "taco", "tada", "tanabata_tree", "tangerine", "taurus", "taxi", "tea", "teacup_without_handle", "tear_off_calendar", "telephone", "telephone_receiver", "telescope", "television", "ten_oclock", "ten_thirty", "tennis", "tent", "thermometer", "thinking_face", "thought_balloon", "three", "three_oclock", "three_thirty", "thumbs_down", "thumbs_up", "thumbsdown", "thumbsup", "ticket", "tiger", "tiger2", "tiger_face", "timer_clock", "tired_face", "tm", "toilet", "tokyo_tower", "tomato", "tongue", "top", "top_arrow", "top_hat", "tophat", "tornado", "trackball", "tractor", "traffic_light", "train", "train2", "tram", "tram_car", "triangular_flag", "triangular_flag_on_post", "triangular_ruler", "trident", "trident_emblem", "triumph", "trolleybus", "trophy", "tropical_drink", "tropical_fish", "truck", "trumpet", "tshirt", "tulip", "turkey", "turtle", "tv", "twelve_oclock", "twelve_thirty", "twisted_rightwards_arrows", "two", "two_hearts", "two_hump_camel", "two_men_holding_hands", "two_oclock", "two_thirty", "two_women_holding_hands", "u5272", "u5408", "u55b6", "u6307", "u6708", "u6709", "u6e80", "u7121", "u7533", "u7981", "u7a7a", "uk", "umbrella", "umbrella_on_ground", "umbrella_with_rain_drops", "unamused", "unamused_face", "underage", "unicorn_face", "unlock", "up", "up_arrow", "up_button", "upside_down_face", "us", "v", "vertical_traffic_light", "vhs", "vibration_mode", "victory_hand", "video_camera", "video_game", "videocassette", "violin", "virgo", "volcano", "volleyball", "vs", "vulcan_salute", "walking", "waning_crescent_moon", "waning_gibbous_moon", "warning", "wastebasket", "watch", "water_buffalo", "water_closet", "water_wave", "watermelon", "wave", "waving_black_flag", "waving_hand", "waving_white_flag", "wavy_dash", "waxing_crescent_moon", "waxing_gibbous_moon", "wc", "weary", "weary_cat_face", "weary_face", "wedding", "weight_lifter", "whale", "whale2", "wheelchair", "white_check_mark", "white_circle", "white_flower", "white_large_square", "white_medium_small_square", "white_medium_square", "white_medium_star", "white_small_square", "white_square_button", "wind_chime", "wind_face", "wine_glass", "wink", "winking_face", "wolf", "wolf_face", "woman", "womans_boot", "womans_clothes", "womans_hat", "womans_sandal", "women_partying", "womens", "womens_room", "world_map", "worried", "worried_face", "wrapped_present", "wrench", "writing_hand", "x", "yellow_heart", "yen", "yen_banknote", "yin_yang", "yum", "zap", "zero", "zipper_mouth_face", "zzz"];
|
|
emoji_names.push("zulip");
|
|
|
|
_.each(emoji_names, function (value) {
|
|
default_emojis.push({emoji_name: value, emoji_url: "static/third/gemoji/images/emoji/" + value + ".png"});
|
|
});
|
|
|
|
exports.update_emojis = function update_emojis(realm_emojis) {
|
|
// Copy the default emoji list and add realm-specific emoji to it
|
|
exports.emojis = default_emojis.slice(0);
|
|
_.each(realm_emojis, function (data, name) {
|
|
exports.emojis.push({emoji_name:name, emoji_url: data.display_url});
|
|
});
|
|
exports.emojis_by_name = {};
|
|
_.each(exports.emojis, function (emoji) {
|
|
exports.emojis_by_name[emoji.emoji_name] = emoji.emoji_url;
|
|
});
|
|
};
|
|
|
|
exports.update_emojis(page_params.realm_emoji);
|
|
|
|
return exports;
|
|
}());
|
|
if (typeof module !== 'undefined') {
|
|
module.exports = emoji;
|
|
}
|