rem: if (data) a.appendChild (document.createTextNode (data)); if (typeof className != "undefined") a.setAttribute ("class", className); 
add: switch (typeof data) { case "string": a.appendChild (document.createTextNode (data)); break;  case "object": for (var p in data) if (p != "data") a.setAttribute (p, data[p]); else a.appendChild (document.createTextNode (data[p])); break;  case "undefined": break;  default: dd ("** INVALID TYPE ('" + typeof data + "') passed to " + "newInlineText."); break;  } 
context: function newInlineText (data, className){    var a = document.createElement ("html:a");    if (data)        a.appendChild (document.createTextNode (data));    if (typeof className != "undefined")        a.setAttribute ("class", className);    return a;    }
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/82b4c0b132d428bad29ff823b9b9353dae156f50/test3-static.js/clean/xul/tests/test3-static.js