File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,8 @@ function toggleTagArray(tags: string[], tag: string): string[] {
232232
233233async function main ( ) {
234234 let data : EmojiData [ ] = [ ] ;
235+ let emojiVersion = 0.0 ;
236+ let emojiVersionStr = "" ;
235237
236238 var rawData :any ;
237239 try {
@@ -262,6 +264,10 @@ async function main() {
262264 tags . push ( tone . replaceAll ( ' ' , '-' ) . toLowerCase ( ) ) ;
263265 }
264266 }
267+ if ( parseFloat ( row . version ) > emojiVersion ) {
268+ emojiVersion = parseFloat ( row . version ) ;
269+ emojiVersionStr = row . version ;
270+ }
265271 data . push ( {
266272 codepoints : row . codepoints ,
267273 order : order ++ ,
@@ -441,7 +447,7 @@ async function main() {
441447
442448 table . on ( "tableBuilt" , function ( ) {
443449 document . getElementById ( "favicon" ) ! . onclick = ( ) => {
444- table . alert ( `Last modified ${ statusData . lastmod } ( ${ statusData . commit } )` ) ;
450+ table . alert ( `Emoji v ${ emojiVersionStr } (built on ${ statusData . lastmod } - ${ statusData . commit } )` ) ;
445451 setTimeout ( ( ) => table . clearAlert ( ) , 2500 ) ;
446452 }
447453 } ) ;
You can’t perform that action at this time.
0 commit comments