Changeset 40850
- Timestamp:
- 05/29/2017 03:20:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wp-emoji-loader.js
r40837 r40850 52 52 53 53 // Add a zero width space between the characters, to force rendering as characters. 54 context.fillText( stringFromCharCode( 55356, 5 7331, 8203, 55356, 57096), 0, 0 );54 context.fillText( stringFromCharCode( 55356, 56826, 8203, 55356, 56819 ), 0, 0 ); 55 55 flag2 = canvas.toDataURL(); 56 56 … … 80 80 case 'emoji4': 81 81 /* 82 * Emoji 5 has the bushiest beards. So does WordPress!82 * Emoji 5 has faries of all genders. 83 83 * 84 * To test for support, try to render a new emoji ( bearded person: light skin tone),85 * then compareit to how it would look if the browser doesn't render it correctly86 * ( bearded person + Fitzpatrick modifier).84 * To test for support, try to render a new emoji (fairy, male), then compares 85 * it to how it would look if the browser doesn't render it correctly 86 * (fairy + male sign). 87 87 */ 88 context.fillText( stringFromCharCode( 55358, 567 88, 55356, 57339 ), 0, 0 );88 context.fillText( stringFromCharCode( 55358, 56794, 8205, 9794, 65039 ), 0, 0 ); 89 89 emoji41 = canvas.toDataURL(); 90 90 91 91 context.clearRect( 0, 0, canvas.width, canvas.height ); 92 92 93 context.fillText( stringFromCharCode( 55358, 567 88, 8203, 55356, 57339 ), 0, 0 );93 context.fillText( stringFromCharCode( 55358, 56794, 8203, 9794, 65039 ), 0, 0 ); 94 94 emoji42 = canvas.toDataURL(); 95 95
Note: See TracChangeset
for help on using the changeset viewer.