rem: return function(xml, attr) {    obj = xml; if (obj == undefined) { return kappa({label:'None', 'value':({})}); }   if (attr == 'class') attr = 'className';  var val = obj[attr];  if (val == undefined) kappa({label:'None', 'value':({})}); else kappa({'label':'Some', 'value':val}); 
add: return function(id) { var elem = document.getElementById(id); if (elem != null) kappa({'label':'Some', 'value':[elem]}); else kappa({label:'None', 'value':({})}); 
context:    return function(xml, attr) {   // FIXME: we need to straighten out the XML/XMLitem distinction.//     if (xml.length == 0 ) { return kappa({label:'None', 'value':({})});}//      obj = xml[0];      obj = xml;      if (obj == undefined) {         return kappa({label:'None', 'value':({})});       }      //  Take note!!!      if (attr == 'class') attr = 'className';      var val = obj[attr];      if (val == undefined) kappa({label:'None', 'value':({})});      else kappa({'label':'Some', 'value':val});   }
meta: 3248	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3248/efbbfc276dd06c55e8127c897171af8b6da1112a/jslib.js/clean/lib/js/jslib.js