1
0
mirror of https://github.com/twitter/twemoji.git synced 2025-01-02 12:00:18 +00:00

Merge pull request #42 from notlaforge/readme-comment-fix

Fix names of ©, ®, and ™ in code sample comment
This commit is contained in:
Andrea Giammarchi 2015-02-12 09:23:12 +01:00
commit 1011e6b114

View File

@ -238,9 +238,9 @@ To exclude certain characters from being replaced by twemoji.js, call twemoji.pa
twemoji.parse(document.body, { twemoji.parse(document.body, {
callback: function(icon, options, variant) { callback: function(icon, options, variant) {
switch ( icon ) { switch ( icon ) {
case 'a9': // copyright © case 'a9': // © copyright
case 'ae': // trademark ® case 'ae': // ® registered trademark
case '2122': // team ™ case '2122': // ™ trademark
return false; return false;
} }
return ''.concat(options.base, options.size, '/', icon, options.ext); return ''.concat(options.base, options.size, '/', icon, options.ext);