Skip to content
Permalink
Browse files

HUEHUE

  • Loading branch information...
Depado committed Dec 12, 2014
1 parent de6f08e commit f0e7b92a6442152597d60afac5efe302386714f6
Showing with 11 additions and 5 deletions.
  1. +1 −1 generation.js
  2. +10 −4 static_data.js
@@ -1,7 +1,7 @@
var staticData = require('./static_data');

var generate_img_string = function (arg) {
var str = "<img src='/custom/images/" + staticData.emotes[arg]['image'] + "'";
var str = "<img src='" + staticData.emotes[arg]['image'] + "'";
if('height' in staticData.emotes[arg]) {
str += "style='height:" + staticData.emotes[arg]['height'] + "px; padding-bottom:" +
staticData.emotes[arg]['height']/10 + "px;'";
@@ -1,15 +1,21 @@
var emotes = {
'(angry)': {
'image': 'angry.gif'
'image': '/custom/images/angry.gif'
},
'(hi)': {
'image': 'hi.gif'
'image': '/custom/images/hi.gif'
},
'(sigh)': {
'image': 'sigh.gif'
'image': '/custom/images/sigh.gif'
},
'(smirk)': {
'image': 'smirk.gif'
'image': '/custom/images/smirk.gif'
},
'(huehue)': {
'image': '//i.imgur.com/T0OBJQ1.gif'
},
'(pigarmor)': {
'image': '/custom/images/pig-armor.jpg'
}
};

0 comments on commit f0e7b92

Please sign in to comment.
You can’t perform that action at this time.