Forces an update for replacement.js.

This commit is contained in:
Emil Ivov 2014-02-08 21:49:46 +01:00
parent 583a98f873
commit 93f010bd9f
2 changed files with 21 additions and 21 deletions

View File

@ -9,7 +9,7 @@
<script src="estos_log.js?v=2"></script><!-- simple stanza logger -->
<script src="app.js?v=15"></script><!-- application logic -->
<script src="smileys.js?v=1"></script><!-- smiley images -->
<script src="replacement.js?v=3"></script><!-- link and smiley replacement -->
<script src="replacement.js?v=5"></script><!-- link and smiley replacement -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css?v=14"/>
<link rel="stylesheet" href="css/jquery-impromptu.css?v=3">

View File

@ -43,26 +43,26 @@ function smilify(body)
if(!body)
return body;
body = body.replace(/(:\(|:\(\(|:-\(\(|:-\(|\(sad\))/gi, "<img title=$1 alt=$1 src="+smiley1+ ">");
body = body.replace(/(\(angry\))/gi, "<img title=$1 alt=$1 src="+smiley2+ ">");
body = body.replace(/(\(n\))/gi, "<img title=$1 alt=$1 src="+smiley3+ ">");
body = body.replace(/(:-\)\)|:\)\)|;-\)\)|;\)\)|\(lol\)|:-D|:D|;-D|;D)/gi, "<img title=$1 alt=$1 src="+smiley4+ ">");
body = body.replace(/(;-\(\(|;\(\(|;-\(|;\(|:'\(|:'-\(|:~-\(|:~\(|\(upset\))/gi, "<img title=$1 alt=$1 src="+smiley5+ ">");
body = body.replace(/(&lt;3|\(L\)|\(l\)|\(H\)|\(h\))/gi, "<img title=$1 alt=$1 src="+smiley6+ ">");
body = body.replace(/(\(angel\))/gi, "<img title=$1 alt=$1 src="+smiley7+ ">");
body = body.replace(/(\(bomb\))/gi, "<img title=$1 alt=$1 src="+smiley8+ ">");
body = body.replace(/(\(chuckle\))/gi, "<img title=$1 alt=$1 src="+smiley9+ ">");
body = body.replace(/(\(y\)|\(Y\)|\(ok\))/gi, "<img title=$1 alt=$1 src="+smiley10+ ">");
body = body.replace(/(;-\)|;\)|:-\)|:\))/gi, "<img title=$1 alt=$1 src="+smiley11+ ">");
body = body.replace(/(\(blush\))/gi, "<img title=$1 alt=$1 src="+smiley12+ ">");
body = body.replace(/(:-\*|:\*|\(kiss\))/gi, "<img title=$1 alt=$1 src="+smiley13+ ">");
body = body.replace(/(\(search\))/gi, "<img title=$1 alt=$1 src="+smiley14+ ">");
body = body.replace(/(\(wave\))/gi, "<img title=$1 alt=$1 src="+smiley15+ ">");
body = body.replace(/(\(clap\))/gi, "<img title=$1 alt=$1 src="+smiley16+ ">");
body = body.replace(/(\(sick\))/gi, "<img title=$1 alt=$1 src="+smiley17+ ">");
body = body.replace(/(:-P|:P|:-p|:p)/gi, "<img title=$1 alt=$1 src="+smiley18+ ">");
body = body.replace(/(:-\0|\(shocked\))/gi, "<img title=$1 alt=$1 src="+smiley19+ ">");
body = body.replace(/(\(oops\))/gi, "<img title=$1 alt=$1 src="+smiley20+ ">");
body = body.replace(/(:\(|:\(\(|:-\(\(|:-\(|\(sad\))/gi, "<img src="+smiley1+ ">");
body = body.replace(/(\(angry\))/gi, "<img src="+smiley2+ ">");
body = body.replace(/(\(n\))/gi, "<img src="+smiley3+ ">");
body = body.replace(/(:-\)\)|:\)\)|;-\)\)|;\)\)|\(lol\)|:-D|:D|;-D|;D)/gi, "<img src="+smiley4+ ">");
body = body.replace(/(;-\(\(|;\(\(|;-\(|;\(|:'\(|:'-\(|:~-\(|:~\(|\(upset\))/gi, "<img src="+smiley5+ ">");
body = body.replace(/(<3|&lt;3|\(L\)|\(l\)|\(H\)|\(h\))/gi, "<img src="+smiley6+ ">");
body = body.replace(/(\(angel\))/gi, "<img src="+smiley7+ ">");
body = body.replace(/(\(bomb\))/gi, "<img src="+smiley8+ ">");
body = body.replace(/(\(chuckle\))/gi, "<img src="+smiley9+ ">");
body = body.replace(/(\(y\)|\(Y\)|\(ok\))/gi, "<img src="+smiley10+ ">");
body = body.replace(/(;-\)|;\)|:-\)|:\))/gi, "<img src="+smiley11+ ">");
body = body.replace(/(\(blush\))/gi, "<img src="+smiley12+ ">");
body = body.replace(/(:-\*|:\*|\(kiss\))/gi, "<img src="+smiley13+ ">");
body = body.replace(/(\(search\))/gi, "<img src="+smiley14+ ">");
body = body.replace(/(\(wave\))/gi, "<img src="+smiley15+ ">");
body = body.replace(/(\(clap\))/gi, "<img src="+smiley16+ ">");
body = body.replace(/(\(sick\))/gi, "<img src="+smiley17+ ">");
body = body.replace(/(:-P|:P|:-p|:p)/gi, "<img src="+smiley18+ ">");
body = body.replace(/(:-\0|\(shocked\))/gi, "<img src="+smiley19+ ">");
body = body.replace(/(\(oops\))/gi, "<img src="+smiley20+ ">");
return body
};