1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-11-16 20:25:58 +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, {
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);