rem: classes.push(className);elmt.className=classes.join(" ");};SimileAjax.DOM.createInputElement=function(type){var div=document.createElement("div");div.innerHTML="<input type='"+type+"' />";return div.firstChild;};SimileAjax.DOM.createDOMFromTemplate=function(doc,template){var result={};result.elmt=SimileAjax.DOM._createDOMFromTemplate(doc,template,result,null);return result;};SimileAjax.DOM._createDOMFromTemplate=function(doc,templateNode,result,parentElmt){if(templateNode==null){var node=doc.createTextNode("--null--");if(parentElmt!=null){parentElmt.appendChild(node);} return node;}else if(typeof templateNode!="object"){var node=doc.createTextNode(templateNode);if(parentElmt!=null){parentElmt.appendChild(node);} 
add: classes.push(className);elmt.className=classes.join(" ");};SimileAjax.DOM.createInputElement=function(type){var div=document.createElement("div");div.innerHTML="<input type='"+type+"' />";return div.firstChild;};SimileAjax.DOM.createDOMFromTemplate=function(doc,template){var result={};result.elmt=SimileAjax.DOM._createDOMFromTemplate(doc,template,result,null);return result;};SimileAjax.DOM._createDOMFromTemplate=function(doc,templateNode,result,parentElmt){if(templateNode==null){return null;}else if(typeof templateNode!="object"){var node=doc.createTextNode(templateNode);if(parentElmt!=null){parentElmt.appendChild(node);} 
context: classes.push(className);elmt.className=classes.join(" ");};SimileAjax.DOM.createInputElement=function(type){var div=document.createElement("div");div.innerHTML="<input type='"+type+"' />";return div.firstChild;};SimileAjax.DOM.createDOMFromTemplate=function(doc,template){var result={};result.elmt=SimileAjax.DOM._createDOMFromTemplate(doc,template,result,null);return result;};SimileAjax.DOM._createDOMFromTemplate=function(doc,templateNode,result,parentElmt){if(templateNode==null){var node=doc.createTextNode("--null--");if(parentElmt!=null){parentElmt.appendChild(node);}return node;}else if(typeof templateNode!="object"){var node=doc.createTextNode(templateNode);if(parentElmt!=null){parentElmt.appendChild(node);}return node;}else{var elmt=null;if("tag"in templateNode){var tag=templateNode.tag;if(parentElmt!=null){if(tag=="tr"){elmt=parentElmt.insertRow(parentElmt.rows.length);}else if(tag=="td"){elmt=parentElmt.insertCell(parentElmt.cells.length);}}if(elmt==null){elmt=tag=="input"?SimileAjax.DOM.createInputElement(templateNode.type):doc.createElement(tag);if(parentElmt!=null){parentElmt.appendChild(elmt);}}}else{elmt=templateNode.elmt;if(parentElmt!=null){parentElmt.appendChild(elmt);}}for(attribute in templateNode){var value=templateNode[attribute];if(attribute=="field"){result[value]=elmt;}else if(attribute=="className"){elmt.className=value;}else if(attribute=="id"){elmt.id=value;}else if(attribute=="title"){elmt.title=value;}else if(attribute=="type"&&elmt.tagName=="input"){}else if(attribute=="style"){for(n in value){var v=value[n];if(n=="float"){n=SimileAjax.Platform.browser.isIE?"styleFloat":"cssFloat";}elmt.style[n]=v;}}else if(attribute=="children"){for(var i=0;i<value.length;i++){SimileAjax.DOM._createDOMFromTemplate(doc,value[i],result,elmt);}}else if(attribute!="tag"&&attribute!="elmt"){elmt.setAttribute(attribute,value);}}return elmt;}}
meta: 6194	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6194/f949444e4ba4f7b7942b137ca332db7a5ec772e8/bundle.js/clean/src/webapp/api/bundle.js