if(!dojo.lang.isString(id)){ id = id["widgetId"]; if(!id){ dojo.debug("invalid widget or id passed to removeById"); return; } } for (var i=0; i<this.widgets.length; i++){ if(this.widgets[i].widgetId == id){ this.remove(i); break; } } } 
if(!dojo.lang.isString(id)){ id = id["widgetId"]; if(!id){ dojo.debug("invalid widget or id passed to removeById"); return; } } for (var i=0; i<this.widgets.length; i++){ if(this.widgets[i].widgetId == id){ this.remove(i); break; } } } 
  this.removeById = function(id) {    if(!dojo.lang.isString(id)){      id = id["widgetId"];      if(!id){ dojo.debug("invalid widget or id passed to removeById"); return; }    }    for (var i=0; i<this.widgets.length; i++){      if(this.widgets[i].widgetId == id){        this.remove(i);        break;      }    }  }
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js