mirror of
https://github.com/twitter/twemoji.git
synced 2024-12-29 00:22:57 +00:00
Merge pull request #42 from notlaforge/readme-comment-fix
Fix names of ©, ®, and ™ in code sample comment
This commit is contained in:
commit
1011e6b114
@ -238,9 +238,9 @@ To exclude certain characters from being replaced by twemoji.js, call twemoji.pa
|
||||
twemoji.parse(document.body, {
|
||||
callback: function(icon, options, variant) {
|
||||
switch ( icon ) {
|
||||
case 'a9': // copyright ©
|
||||
case 'ae': // trademark ®
|
||||
case '2122': // team ™
|
||||
case 'a9': // © copyright
|
||||
case 'ae': // ® registered trademark
|
||||
case '2122': // ™ trademark
|
||||
return false;
|
||||
}
|
||||
return ''.concat(options.base, options.size, '/', icon, options.ext);
|
||||
|
Loading…
Reference in New Issue
Block a user