Site > Add file tree

This commit is contained in:
brunosimon
2017-08-09 23:32:26 +02:00
parent 02a59ba5be
commit c7cf01747a
23 changed files with 950 additions and 20 deletions
+3 -3
View File
@@ -128,17 +128,17 @@ class Files
describe()
{
// Set up
const result = {}
const result = {}
result.count = this.count
result.items = {}
result.items = []
// Each file
for(const _filePath in this.items)
{
const file = this.items[_filePath]
result.items[_filePath] = file.describe()
result.items.push(file.describe())
}
return result