rem: Element.collectTextNodesIgnoreClass = function(element, ignoreclass) { var children = $(element).childNodes; var text     = ""; var classtest = new RegExp("^([^ ]+ )*" + ignoreclass+ "( [^ ]+)*$","i");  for (var i = 0; i < children.length; i++) { if(children[i].nodeType==3) { text+=children[i].nodeValue; } else { if((!children[i].className.match(classtest)) && children[i].hasChildNodes()) text += Element.collectTextNodesIgnoreClass(children[i], ignoreclass); } }  
add: Element.collectTextNodesIgnoreClass = function(element, ignoreclass) { var children = $(element).childNodes; var text     = ""; var classtest = new RegExp("^([^ ]+ )*" + ignoreclass+ "( [^ ]+)*$","i");  for (var i = 0; i < children.length; i++) { if(children[i].nodeType==3) { text+=children[i].nodeValue; } else { if((!children[i].className.match(classtest)) && children[i].hasChildNodes()) text += Element.collectTextNodesIgnoreClass(children[i], ignoreclass); } }  
context: Element.collectTextNodesIgnoreClass = function(element, ignoreclass) {  var children = $(element).childNodes;  var text     = "";  var classtest = new RegExp("^([^ ]+ )*" + ignoreclass+ "( [^ ]+)*$","i");  for (var i = 0; i < children.length; i++) {    if(children[i].nodeType==3) {      text+=children[i].nodeValue;    } else {      if((!children[i].className.match(classtest)) && children[i].hasChildNodes())        text += Element.collectTextNodesIgnoreClass(children[i], ignoreclass);    }  }  return text;}
meta: 3283	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3283/8a342036a177e27b9f776c900bbae999b6ce8e3c/effects.js/clean/tracks/public/javascripts/effects.js