//>>built define("dojox/mvc/Repeat",["dojo/_base/declare","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/dom","dojo/dom-construct","dojo/_base/array","dojo/query","dojo/when","dijit/registry","./_Container"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){ return _1("dojox.mvc.Repeat",_b,{index:0,useParent:"",removeRepeatNode:false,children:null,_relTargetProp:"children",startup:function(){ if(this.removeRepeatNode){ var _c=null; if(_2.isFunction(this.getParent)){ if(this.getParent()){ this.select=this.getParent().select; this.onCheckStateChanged=this.getParent().onCheckStateChanged; } } } this.inherited(arguments); this._setChildrenAttr(this.children); },postscript:function(_d,_e){ if(this.useParent&&_5.byId(this.useParent)){ this.srcNodeRef=_5.byId(this.useParent); }else{ this.srcNodeRef=_5.byId(_e); } if(this.srcNodeRef){ var _f=this._attachTemplateNodes?"inlineTemplateString":"templateString"; if(this[_f]==""){ this[_f]=this.srcNodeRef.innerHTML; } try{ this.srcNodeRef.innerHTML=""; } catch(e){ while(this.srcNodeRef.firstChild){ this.srcNodeRef.removeChild(this.srcNodeRef.firstChild); } } } this.inherited(arguments); },_setChildrenAttr:function(_10){ var _11=this.children; this._set("children",_10); if(this.binding!=_10){ this.set("ref",_10); } if(this._started&&(!this._builtOnce||_11!=_10)){ this._builtOnce=true; this._buildContained(_10); } },_buildContained:function(_12){ if(!_12){ return; } if(this.useParent&&_5.byId(this.useParent)){ this.srcNodeRef=_5.byId(this.useParent); } this._destroyBody(); this._updateAddRemoveWatch(_12); var _13=[],_14=this._attachTemplateNodes?"inlineTemplateString":"templateString"; for(this.index=0;_2.isFunction(_12.get)?_12.get(this.index):_12[this.index];this.index++){ _13.push(this._exprRepl(this[_14])); } var _15=this.containerNode||this.srcNodeRef||this.domNode; if(_3("ie")&&/^(table|tbody)$/i.test(_15.tagName)){ var div=_4.doc.createElement("div"); div.innerHTML="