File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11/* eslint-disable camelcase */
22const AllGithubEmoji = {
3- ' 100' : 'unicode/1f4af' ,
4- ' 1234' : 'unicode/1f522' ,
3+ 100 : 'unicode/1f4af' ,
4+ 1234 : 'unicode/1f522' ,
55 '+1' : 'unicode/1f44d' ,
66 '-1' : 'unicode/1f44e' ,
77 '1st_place_medal' : 'unicode/1f947' ,
@@ -1804,8 +1804,8 @@ const AllGithubEmoji = {
18041804
18051805// Emoji from GitHub API
18061806// https://api.github.com/emojis
1807- window . emojify = function ( match , $1 ) {
1808- return AllGithubEmoji . hasOwnProperty ( $1 ) === false
1807+ window . emojify = function ( match , $1 ) {
1808+ return Object . prototype . hasOwnProperty . call ( AllGithubEmoji , $1 ) === false
18091809 ? match
18101810 : '<img class="emoji" src="https://github.githubassets.com/images/icons/emoji/' +
18111811 AllGithubEmoji [ $1 ] +
You can’t perform that action at this time.
0 commit comments