rem: sortname = "d-";  sortname += this.nick; rdf.Change (this.rdfRes, rdf.resSortName, rdf.GetLiteral(sortname)); rdf.Change (this.rdfRes, rdf.resOp, this.isOp ? rdf.litTrue : rdf.litFalse); rdf.Change (this.rdfRes, rdf.resHalfOp, this.isHalfOp ? rdf.litTrue : rdf.litFalse); rdf.Change (this.rdfRes, rdf.resVoice, this.isVoice ? rdf.litTrue : rdf.litFalse); 
add: { rdf.Change (this.rdfRes, rdf.resNick, rdf.GetLiteral(this.unicodeName)); } rdf.Change(this.rdfRes, rdf.resSortName, rdf.GetLiteral(sortname)); rdf.Change(this.rdfRes, rdf.resOp, this.isOp ? rdf.litTrue : rdf.litFalse); rdf.Change(this.rdfRes, rdf.resHalfOp, this.isHalfOp ? rdf.litTrue : rdf.litFalse); rdf.Change(this.rdfRes, rdf.resVoice, this.isVoice ? rdf.litTrue : rdf.litFalse); rdf.Change(this.rdfRes, rdf.resAway, this.isAway ? rdf.litTrue : rdf.litFalse); 
context: function usr_updres(){    if (!ASSERT(this.TYPE == "IRCChanUser",                "cuser.updateGraphResource called on wrong object"))    {        return;    }    if (!("rdfRes" in this))    {        this.getGraphResource();        return;    }        var rdf = client.rdf;        rdf.Change (this.rdfRes, rdf.resNick, rdf.GetLiteral(this.properNick));    if (this.name)        rdf.Change (this.rdfRes, rdf.resUser, rdf.GetLiteral(this.name));    else        rdf.Change (this.rdfRes, rdf.resUser, rdf.litUnk);    if (this.host)        rdf.Change (this.rdfRes, rdf.resHost, rdf.GetLiteral(this.host));    else        rdf.Change (this.rdfRes, rdf.resHost, rdf.litUnk);    var sortname;    if (this.isOp)        sortname = "a-";    else if (this.isHalfOp)        sortname = "b-";    else if (this.isVoice)        sortname = "c-";    else        sortname = "d-";        sortname += this.nick;    rdf.Change (this.rdfRes, rdf.resSortName, rdf.GetLiteral(sortname));    rdf.Change (this.rdfRes, rdf.resOp,                 this.isOp ? rdf.litTrue : rdf.litFalse);    rdf.Change (this.rdfRes, rdf.resHalfOp,                 this.isHalfOp ? rdf.litTrue : rdf.litFalse);    rdf.Change (this.rdfRes, rdf.resVoice,                this.isVoice ? rdf.litTrue : rdf.litFalse);}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/0918cade427e1856c2e2bcfdefa8b4ea3e457b73/static.js/clean/xul/content/static.js