commit melhorias sgf

This commit is contained in:
2026-11-11 09:00:17 +02:00
parent 0b05a1192c
commit 1d11a5e57b
736 changed files with 40746 additions and 210 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
// Saving uses the existing form and its existing command/validation path.
export class ContextTransition {
constructor() { this.dirty = new Set(); this.pending = 0; this.saved = 0; this.failed = 0; this.versions = new WeakMap(); this.submitting = null; }
changed(form) { if (form) { this.dirty.add(form); this.versions.set(form,(this.versions.get(form)||0)+1); } }
changed(form) { if (form && form.dataset?.sgfReadFilters!=='true') { this.dirty.add(form); this.versions.set(form,(this.versions.get(form)||0)+1); } }
prune() { for (const form of this.dirty) if (!form.isConnected) this.dirty.delete(form); }
async command(operation) {
this.pending++;