cmap functions, email, architecture documentation.

This commit is contained in:
2026-08-18 03:33:10 +02:00
parent 12f1ed2764
commit 63b7ca0853
33 changed files with 3974 additions and 80 deletions
+3 -3
View File
@@ -7,7 +7,7 @@
(() => {
"use strict";
const debugPrefix = "[racket-wiki:cmap 0.2.84]";
const debugPrefix = "[racket-wiki:cmap 0.2.94]";
function debug(message, details) {
if (details === undefined) {
@@ -1207,7 +1207,7 @@
const expanded = [];
for (const item of selected) {
expanded.push(item);
if (item.kind === "submap" && !item.expanded && item !== this.activeMapRoot) {
if (item.kind === "submap" && item !== this.activeMapRoot) {
expanded.push(...this.items.filter((candidate) => this.isDescendantOf(candidate, item)));
}
}
@@ -2081,7 +2081,7 @@
let lastEditor = null;
window.RacketWikiCmap = {
version: "0.2.84",
version: "0.2.94",
createEditor(canvas, options) {
lastEditor = new CmapEditor(canvas, options);
return lastEditor;