rem: else if (emoticon.search(/[=:;]\~[-^v]?\(/) != -1) 
add: else if (emoticon.search(/[=:;][~'][-^v]?\(/) != -1) 
context: function insertSmiley(emoticon, containerTag){    var type = "error";    if (emoticon.search(/\>[=:;][-^v]?[(|]/) != -1)        type = "face-angry";    else if (emoticon.search(/[=:;][-^v]?[Ss\\\/]/) != -1)        type = "face-confused";    else if (emoticon.search(/[B8][-^v]?[)\]]/) != -1)        type = "face-cool";    else if (emoticon.search(/[=:;]\~[-^v]?\(/) != -1)        type = "face-cry";    else if (emoticon.search(/o[._]O|O[._]o/) != -1)        type = "face-dizzy";    else if (emoticon.search(/o[._]o|O[._]O/) != -1)        type = "face-eek";    else if (emoticon.search(/\>[=:;][-^v]?D/) != -1)        type = "face-evil";    else if (emoticon.search(/[=:;][-^v]?D/) != -1)        type = "face-laugh";    else if (emoticon.search(/\([-^v]?D|[xX][-^v]?D/) != -1)        type = "face-lol";    else if (emoticon.search(/[=:;][-^v]?\|/) != -1)        type = "face-normal";    else if (emoticon.search(/[=:;][-^v]?\?/) != -1)        type = "face-question";    else if (emoticon.search(/[=:;]"[)\]]/) != -1)        type = "face-red";    else if (emoticon.search(/9[._]9/) != -1)        type = "face-rolleyes";    else if (emoticon.search(/[=:;][-^v]?[(\[]/) != -1)        type = "face-sad";    else if (emoticon.search(/[=:][-^v]?[)\]]/) != -1)        type = "face-smile";    else if (emoticon.search(/[=:;][-^v]?[0oO]/) != -1)        type = "face-surprised";    else if (emoticon.search(/[=:;][-^v]?[pP]/) != -1)        type = "face-tongue";    else if (emoticon.search(/;[-^v]?[)\]]/) != -1)        type = "face-wink";    if (type == "error")    {        // We didn't actually match anything, so it'll be a too-generic match        // from the munger RegExp.        containerTag.appendChild(document.createTextNode(emoticon));        return;    }    var span = document.createElementNS ("http://www.w3.org/1999/xhtml",                                         "html:span");    /* create a span to hold the emoticon text */    span.setAttribute ("class", "chatzilla-emote-txt");    span.setAttribute ("type", type);    span.appendChild (document.createTextNode (emoticon));    containerTag.appendChild (span);    /* create an empty span after the text.  this span will have an image added     * after it with a chatzilla-emote:after css rule. using     * chatzilla-emote-txt:after is not good enough because it does not allow us     * to turn off the emoticon text, but keep the image.  ie.     * chatzilla-emote-txt { display: none; } turns off     * chatzilla-emote-txt:after as well.*/    span = document.createElementNS ("http://www.w3.org/1999/xhtml",                                     "html:span");    span.setAttribute ("class", "chatzilla-emote");    span.setAttribute ("type", type);    span.setAttribute ("title", emoticon);    containerTag.appendChild (span);}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/00b6cdf954399a8f3562bddaefd3164388596abb/static.js/clean/xul/content/static.js