context: 	getChildrenOfType: function(/*String*/type, /*Boolean*/recurse){		// summary: 		//		return an array of descendant widgets who match the passed type		// recurse:		//		should we try to get all descendants that match? Defaults to		//		false.		var ret = [];		var isFunc = dojo.lang.isFunction(type);		if(!isFunc){			type = type.toLowerCase();		}		for(var x=0; x<this.children.length; x++){			if(isFunc){				if(this.children[x] instanceof type){					ret.push(this.children[x]);				}			}else{				if(this.children[x].widgetType.toLowerCase() == type){					ret.push(this.children[x]);				}			}			if(recurse){				ret = ret.concat(this.children[x].getChildrenOfType(type, recurse));			}		}		return ret; // Array	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/Widget.js/buggy/www/resources/dojo-ajax/src/widget/Widget.js