2 directories, 29 files

tinai

Home / testing / ai / tinai
import App from './app.js';
import Users from './users.js';
import Storage from './storage.js';
import { customConfirm } from './util/confirm-dialog.js';

new Users();

if (!document.getElementById('login-form')) {
	const storage = new Storage();
	await storage.init();
	new App(storage);
	const tinAITitle = document.getElementById('id-title-tinai');
	if (tinAITitle) {
		tinAITitle.addEventListener('click', async () => {
			if (await customConfirm('Refresh App', 'Do you want to refresh the page and invalidate cached files?')) {
				location.reload();
			}
		});
	}
}
🌐
indexjs.js ×
Type: Web, text/x-java
572 Bytes
Last Modified 2026-09-04 14:23:52
⬇ Download File