rem: name = JSERAttrs[i]; if (gElement.getAttribute(name)) doRemoveAttribute(gElement, name); 
add: var name = JSERAttrs[i];  if (gElement.hasAttribute(name)) doRemoveAttribute(name); 
context: function UpdateJSEAttributes(){  var JSEAList = document.getElementById("JSEAList");  var i;  // remove removed attributes  for (i = 0; i < JSERAttrs.length; i++)  {    name = JSERAttrs[i];    if (gElement.getAttribute(name))      doRemoveAttribute(gElement, name);  }  // Add events  for (i = 0; i < JSEAList.childNodes.length; i++)  {    var item = JSEAList.childNodes[i];    // set the event handler    doSetAttribute( GetTreeItemAttributeStr(item), GetTreeItemValueStr(item) );  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/fb9e02296032efea5b5a7bafdb5f32a8eaf75f21/EdAEJSEAttributes.js/clean/editor/ui/dialogs/content/EdAEJSEAttributes.js