]> piware.de Git - chordpro-web.git/commit
Keep the song content local to the renderer
authorMartin Pitt <martin@piware.de>
Wed, 23 Sep 2026 20:51:09 +0000 (22:51 +0200)
committerMartin Pitt <martin@piware.de>
Wed, 23 Sep 2026 20:51:18 +0000 (22:51 +0200)
commit61b68ebc87cb4b5edb1e36cfa0e05257d20dc1b8
treed7a18ff9598bf845a53ffffba2450130edc23540
parent862a096f51966d4abb9b2183c613157357c4df10
Keep the song content local to the renderer

The comment handler appended to a module level array, which the renderer had
to reset on every call. Directive handlers now return the content to render
instead; lit ignores the undefined results of handlers that only set headings.
chordpro-web.js