You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
521 B
1 line
521 B
template_str="\
|
|
01 MAIN\
|
|
02 PComp\
|
|
03 Source Layers\
|
|
04 Movies\
|
|
05 Other Projects\
|
|
06 Audio\
|
|
07 References\
|
|
";
|
|
|
|
var FolderStructure = function(){
|
|
var template = template_str.split('\n');
|
|
template = template.slice(1,template.length-1);
|
|
var tab=" ";
|
|
for(var i = 0; i < template.length; i++){
|
|
alert(template[i].split(tab));
|
|
this[template[i]]='';
|
|
}
|
|
this.print = function(){
|
|
for (var i in this){
|
|
}
|
|
};
|
|
};
|
|
fs = new FolderStructure()
|
|
|
|
fs.print();
|