Changeset 0.28.3 (#187)
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
// await tree.refresh();
|
||||
// tree.setActiveFile('src/main.go');
|
||||
// tree.destroy();
|
||||
//
|
||||
// Exports: window.FileTree
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
const FileTree = {
|
||||
...createComponentRegistry('FileTree'),
|
||||
@@ -261,3 +266,7 @@ function _ftFileIcon(name) {
|
||||
};
|
||||
return icons[ext] || '📄';
|
||||
}
|
||||
|
||||
// ── Exports ─────────────────────────────────
|
||||
window.FileTree = FileTree;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user