Skip to content

Commit

Permalink
Merge pull request #80 from gabceb/master
Browse files Browse the repository at this point in the history
Fixed references to some emoticons. Added GTFO emoticon image
  • Loading branch information
fusion94 committed Feb 13, 2013
2 parents 7cf6f98 + 1e6a668 commit b2053b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Binary file added app/assets/images/emoticons/gtfo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 6 additions & 8 deletions app/assets/javascripts/backbone/plugins/emoticons.js.coffee
Expand Up @@ -10,25 +10,25 @@ class Kandan.Plugins.Emoticons
@emoticons: {
"(alone)" : { src : "alone.jpg", css : "big", title : "alone"},
"(awwyea)" : { src : "awwyea.jpg", css : "big", title : "awwyea"},
"(badass)" : { src : "badass.jpg", css : "big", title : "badass"},
"(badass)" : { src : "badass.png", css : "big", title : "badass"},
"(bitchplease)" : { src : "bitchplease.jpg", css : "big", title : "bitchplease"},
"(cereal)" : { src : "cereal.jpg", css : "big", title : "cereal"},
"(challenge)" : { src : "challenge.jpg", css : "big", title : "challenge"},
"(fuckyeah)" : { src : "fuckyeah.jpg", css : "big", title : "fuckyeah"},
"(gtfo)" : { src : "gtfo.jpg", css : "big", title : "gtfo"},
"(gtfo)" : { src : "gtfo.png", css : "big", title : "gtfo"},
"(ilied)" : { src : "ilied.jpg", css : "big", title : "ilied"},
"(megusta)" : { src : "megusta.jpg", css : "big", title : "megusta"},
"(notbad)" : { src : "notbad.jpg", css : "big", title : "notbad"},
"(okay)" : { src : "okay.jpg", css : "big", title : "okay"},
"(omgface)" : { src : "omgface.jpg", css : "big", title : "omgface"},
"(pokerface)" : { src : "pokerface.jpg", css : "big", title : "pokerface"},
"(problem)" : { src : "problem.jpg", css : "big", title : "problem"},
"(problem)" : { src : "trollface.jpg", css : "big", title : "problem"},
"(rageguy)" : { src : "rageguy.jpg", css : "big", title : "rageguy"},
"(seriously)" : { src : "seriously.jpg", css : "big", title : "seriously"},
"(sweetjesus)" : { src : "sweetjesus.jpg", css : "big", title : "sweetjesus"},
"(trollface)" : { src : "trollface.jpg", css : "big", title : "trollface"},
"(truestory)" : { src : "truestory.jpg", css : "big", title : "truestory"},
"(youdontsay)" : { src : "youdontsay.jpg", css : "big", title : "youdontsay"},
"(truestory)" : { src : "truestory.png", css : "big", title : "truestory"},
"(youdontsay)" : { src : "youdontsay.png", css : "big", title : "youdontsay"},
"(yuno)" : { src : "yuno.jpg", css : "big", title : "yuno"},
":(" : { src : "sad.png", css : "small", title : "sad"},
"=(" : { src : "sad.png", css : "small", title : "sad"},
Expand All @@ -51,6 +51,4 @@ class Kandan.Plugins.Emoticons
replacement = @options.template(emoticon)
message.content = message.content.replace(search, replacement)

return Kandan.Helpers.Activities.buildFromMessageTemplate(message)

# Kandan.Plugins.register "Kandan.Plugins.Emoticons"
return Kandan.Helpers.Activities.buildFromMessageTemplate(message)

0 comments on commit b2053b7

Please sign in to comment.