TODOΒΆ

  • Two tiles of the launcher lead nowhere: β€œ3D FPS Game” opens /examples/shorts/run.html?file=fps.js, whose script /examples/shorts/fps.js answers 404, and β€œStress Test” opens /examples/stress/, which answers 404 (measured on the compose stack at upstream commit 8f863c14). Cause: vars/examples.yml lists both entries, upstream main no longer ships either path. Options: remove the two entries; or generate the list from the checked-out examples/ tree at deploy time.

  • The example browser requests /docs/search.js on every load and its β€œDocs” link opens /docs/; both answer 404 (measured on the compose stack). Cause: files/Dockerfile copies only examples/ and dist/ of the upstream repository into the image. Options: copy docs/ too; or rewrite the link to the upstream documentation site at the proxy.

  • The code editor of the example browser stays a plain <textarea>: the browser console reports Loading the script 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/6.65.7/codemirror.min.js' violates the following Content Security Policy directive and the same for eleven theme stylesheets (measured on the compose stack; document.querySelectorAll(".CodeMirror").length is 0). Cause: upstream examples/shorts.js loads CodeMirror from cdnjs at run time and meta/csp.yml whitelists only the asset host for script-src-elem and style-src-elem. Options: whitelist https://cdnjs.cloudflare.com for both directives; or serve CodeMirror through the asset lookup and patch the URLs at build time; or keep the textarea.

  • The served upstream version moves with every deploy and every role sync: services.littlejs.ref in meta/services.yml is main, and the checkout updates to the head of that branch each run (served during the design pass: commit 8f863c14d114e984a59f42c6ef4b98093581f677, past the newest tag v1.25.0). The role stylesheet maps the thirteen variables of upstream’s examples/style.css, so an upstream change of that file can undo the mapping without any change in this repository. Options: pin ref to a tag such as v1.25.0; or pin it to a commit and let the version updater move it.