mirror of
https://github.com/twitter/twemoji.git
synced 2024-11-02 11:30:12 +00:00
Update README.md
Fix names of ©, ®, and ™ in code sample comment.
This commit is contained in:
parent
39ebd1ca2f
commit
23d51907f1
@ -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