add:  obj.munger = new CMunger(); obj.munger.addRule ("you-talking-to-me?", matchMyNick, ""); obj.munger.addRule ("link", /((http|mailto|ftp)\:\/\/[^\)\s]*|www\.\S+\.\S[^\)\s]*)/, insertLink); obj.munger.addRule ("face", /([\<\>]?[\;\=\:\8]\~?[\-\^\v]?[\)\|\(pP\<\>oO0\[\]\/\\])/, insertSmiley); obj.munger.addRule ("rheet", /(rhe+t\!*)/i, "rheet"); obj.munger.addRule ("bold", /(\*.*\*)/, "bold"); obj.munger.addRule ("italic", /[^sS](\/.*\/)/, "italic"); obj.munger.addRule ("teletype", /(\|.*\|)/, "teletype"); obj.munger.addRule ("underline", /(\_.*\_)/, "underline");  obj.munger.addRule ("smallcap", /(\#.*\#)/, "smallcap");  
context: function initHost(obj){    client.commands = new CCommandManager();    addCommands (obj.commands);        obj.networks = new Object();    obj.eventPump = new CEventPump (10);        obj.networks["efnet"] =	new CIRCNetwork ("efnet", [{name: "irc.freei.net", port: 6667},                                   {name: "irc.primenet.com", port: 6667},                                   {name: "irc.cs.cmu.edu",   port: 6667}],                         obj.eventPump);    obj.networks["linuxnet"] =	new CIRCNetwork ("linuxnet", [{name: "irc.mozilla.org", port: 6667}],                         obj.eventPump);    obj.networks["hybridnet"] =        new CIRCNetwork ("hybridnet", [{name: "irc.ssc.net", port: 6667}],                         obj.eventPump);    obj.primNet = obj.networks["efnet"];    if (DEBUG)        /* hook all events EXCEPT server.poll and *.event-end types         * (the 4th param inverts the match) */        obj.eventPump.addHook ([{type: "poll", set: /^(server|dcc-chat)$/},                               {type: "event-end"}], event_tracer,                               "event-tracer", true /* negate */,                               false /* disable */);    }
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/9af3ae8ecad07eb84fef942a41138748210f6143/test3-static.js/clean/xul/tests/test3-static.js