FileTree: Allow output as hash, convert to JSON separately

This commit is contained in:
Sebastian Serth
2022-10-04 15:12:18 +02:00
committed by Sebastian Serth
parent ad8743a7d0
commit fb9672c7a4
5 changed files with 12 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ div.d-grid.enforce-bottom-margin id='sidebar-uncollapsed' class=(@exercise.hide_
.card-body.pt-0.pe-0.ps-1.pb-1
#files data-entries=FileTree.new(files).to_js_tree
#files data-entries=FileTree.new(files).to_js_tree_in_json
hr