dojo.dom.getAncestors = function(/* Node */node, /* function? */filterFunction, /* boolean? */returnFirstHit) {   var ancestors = []; var isFunction = (filterFunction && (filterFunction instanceof Function || typeof filterFunction == "function")); while(node) { if (!isFunction || filterFunction(node)) { ancestors.push(node); } if (returnFirstHit && ancestors.length > 0) { return ancestors[0]; }  node = node.parentNode; } if (returnFirstHit) { return null; } return ancestors; 
dojo.dom.getAncestors=function(node,_12e,_12f){ var _130=[]; var _131=(_12e&&(_12e instanceof Function||typeof _12e=="function")); while(node){ if(!_131||_12e(node)){ _130.push(node); 
dojo.dom.getAncestors = function(/* Node */node, /* function? */filterFunction, /* boolean? */returnFirstHit) {  //  summary  //  returns all ancestors matching optional filterFunction; will return only the first if returnFirstHit  var ancestors = [];  var isFunction = (filterFunction && (filterFunction instanceof Function || typeof filterFunction == "function"));  while(node) {    if (!isFunction || filterFunction(node)) {      ancestors.push(node);    }    if (returnFirstHit && ancestors.length > 0) {       return ancestors[0];  //  Node    }        node = node.parentNode;  }  if (returnFirstHit) { return null; }  return ancestors; //  array}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js