Appcelerator.Module.Folder={modulePath:null,setPath:function(A){this.modulePath=A},getName:function(){return"appcelerator folder"},getDescription:function(){return"folder widget"},getVersion:function(){return 1},getSpecVersion:function(){return 1},getAuthor:function(){return"Jeff Haynie"},getModuleURL:function(){return"http://www.appcelerator.org"},isWidget:function(){return true},getWidgetName:function(){return"app:folder"},compileWidget:function(params){var itemCloser=function(exclude){params["itemnodes"].each(function(child){if(exclude!=child&&$(child).opened){$(child)._onclosed()}})};var closeChildren=function(parentid,childid){$A($(parentid+"_children").childNodes).findAll(function(n){return n.nodeType==1}).each(function(n){if(n.id!=childid){$(n.id)._onclosed()}})};var nodes=params["nodes"];for(var c=0;c/g,"/APP:FOLDER>");J=J.replace(//g,"/APP:ITEM>");G.innerHTML=J}for(var I=0;I';H+='
';H+='';H+=''+E.getAttribute("name")+"
";H+='";K++}}L["nodes"]=G.childNodes;L["itemnodes"]=B;return{"position":Appcelerator.Compiler.POSITION_REPLACE,"presentation":H,"compile":true}}};Appcelerator.Core.registerModule("app:folder",Appcelerator.Module.Folder);Appcelerator.Core.loadModuleCSS("app:folder","folder.css")