rem: return function(tag, attrs, body) { var node = document.createElement(tag); _alert("node: "+node.nodeName); for (name in attrs) { _alert("attribute name: "+name+"; value: "+attrs[name]); node.setAttribute(name, attrs[name]); }  for (var i = 0; i < body.length; i++) { var child = body[i]; if (typeof(child) == 'string') { node.appendChild(document.createTextNode(child)); } else { for (var j = 0; j < child.length; j++) { node.appendChild(child[j]); } } } kappa([node]); 
add: return function() { if (request.readyState == isComplete) {  var serverResponse = JSON.parse(_base64decode(request.responseText.replace('\n', ''))); if ((serverResponse instanceof Object) && ('__continuation' in serverResponse)) {  var _res = null; var cont = function(r) { res = r; }  var f = window[serverResponse.__name](cont); f.apply(f, _tuple_as_list(serverResponse.__arg)); var request_ = _newXMLHttpRequest(); request_.open('POST', location.href, true); request_.onreadystatechange = _remoteCallHandler(kappa, request_); request_.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); request_.send("__continuation=" + serverResponse.__continuation + "&__result=" + _base64encode(JSON.stringify(_res))); } else {  kappa(serverResponse); } } 
context:   return function(tag, attrs, body) {    var node = document.createElement(tag);   _alert("node: "+node.nodeName);   for (name in attrs) {      _alert("attribute name: "+name+"; value: "+attrs[name]);      node.setAttribute(name, attrs[name]);   }   for (var i = 0; i < body.length; i++) {     var child = body[i];     if (typeof(child) == 'string') {       node.appendChild(document.createTextNode(child));     } else {       for (var j = 0; j < child.length; j++) {          node.appendChild(child[j]);       }     }   }   kappa([node]);  }
meta: 3248	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3248/4fadb4d6641df7e04456a5fb2058e265f59cc5aa/jslib.js/clean/jslib.js