Merge pull request #1408 from riking/patch-1

Add "nose" faces to the translations table
This commit is contained in:
Robin Ward 2013-09-04 07:53:05 -07:00
commit 7dedc773bb

View File

@ -12,16 +12,28 @@
// Also support default emotions
var translations = {
':)' : 'smile',
':-)' : 'smile',
':(' : 'frowning',
':-(' : 'frowning',
';)' : 'wink',
';-)' : 'wink',
':\'(' : 'cry',
':\'-(' : 'cry',
':-\'(' : 'cry',
':P' : 'stuck_out_tongue',
':-P' : 'stuck_out_tongue',
':O' : 'open_mouth',
':-O' : 'open_mouth',
':D' : 'grin',
':-D' : 'grin',
':|' : 'expressionless',
':-|' : 'expressionless',
";P" : 'stuck_out_tongue_winking_eye',
";-P" : 'stuck_out_tongue_winking_eye',
';)' : 'wink',
';-)' : 'wink',
":$" : 'blush'
":-$" : 'blush'
};
Object.keys(translations).forEach(function (code) {