Разделение app.js на модули

- core.js: API wrapper и утилиты (~150 строк)
- user.js: авторизация и localStorage (~240 строк)
- table.js: дерево и Tabulator (~770 строк)
- operations.js: CRUD операции (~740 строк)
- io.js: импорт/экспорт CSV и бэкап (~600 строк)
- app.js: точка входа (~30 строк)

Старый файл сохранён как app.js.bak

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-24 08:50:16 +03:00
parent 647ab96d1a
commit 09d62fe433
8 changed files with 2527 additions and 2643 deletions

View File

@@ -521,6 +521,12 @@
</div>
</div>
<script src="app.js"></script>
<!-- Модули приложения -->
<script src="js/core.js"></script>
<script src="js/user.js"></script>
<script src="js/table.js"></script>
<script src="js/operations.js"></script>
<script src="js/io.js"></script>
<script src="js/app.js"></script>
</body>
</html>