From 521ac31d3dc31257db45fe99a1cfff174549efc0 Mon Sep 17 00:00:00 2001 From: Harshit Bansal Date: Thu, 28 Sep 2017 17:31:47 +0000 Subject: [PATCH] build_emoji: Remove the redundant `codepoints` list. This list contained a list of codepoints of all the emojis. We now have `codepoint_to_name` in emoji_codes.js and hence this is not required. --- tools/setup/emoji/build_emoji | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/setup/emoji/build_emoji b/tools/setup/emoji/build_emoji index 7b13639e6c..84bdc9910c 100755 --- a/tools/setup/emoji/build_emoji +++ b/tools/setup/emoji/build_emoji @@ -28,8 +28,6 @@ var exports = {}; exports.names = %(names)s; -exports.codepoints = %(codepoints)s; - exports.name_to_codepoint = %(name_to_codepoint)s; exports.codepoint_to_name = %(codepoint_to_name)s; @@ -202,7 +200,6 @@ def generate_map_files(cache_path, emoji_map, emoji_data, emoji_catalog, unified emoji_codes_file.write(EMOJI_CODES_FILE_TEMPLATE % { 'names': names, - 'codepoints': sorted([str(code_point) for code_point in set(emoji_map.values())]), 'name_to_codepoint': name_to_codepoint, 'codepoint_to_name': codepoint_to_name, 'emoji_catalog': emoji_catalog,