diff --git a/docs/changes.md b/docs/changes.md index 67923bb..3df33a9 100644 --- a/docs/changes.md +++ b/docs/changes.md @@ -9,6 +9,8 @@ but non-responsive is still the default. * Update for changes in ({pull}`104`). * Add Paul Hardy to sources ({mod}`pyabc2.sources.hardy`; {pull}`105`). +* Update abcjs version from 6.4.4 to 6.6.2 (late Feb 2026; {pull}`106`). + Integrate the new chord grid option into the widget. ## v0.1.2 (2026-02-03) diff --git a/docs/conf.py b/docs/conf.py index 100820d..f3846bd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,7 +37,7 @@ html_js_files = [ # TODO: just the pages that need it (example notebooks) instead of every page, using `app.add_js_file` ( - "https://cdn.jsdelivr.net/npm/abcjs@6.4.4/dist/abcjs-basic-min.js", + "https://cdn.jsdelivr.net/npm/abcjs@6.6.2/dist/abcjs-basic-min.js", { "crossorigin": "anonymous", # We need it to load before the widget instances diff --git a/docs/examples/widget.ipynb b/docs/examples/widget.ipynb index 46dc2a0..1937b6e 100644 --- a/docs/examples/widget.ipynb +++ b/docs/examples/widget.ipynb @@ -212,7 +212,7 @@ "metadata": {}, "outputs": [], "source": [ - "abc = \"K: C\\nT: The best scale\\n\" + \"CDEF GABc | \" * 4\n", + "abc = \"K: C\\nM: 4/4\\nT: The best scale\\n\" + '\"C\"' + \"CDEF GABc | \" * 4\n", "\n", "w = interactive(abc, foreground=\"#808080\", staff_width=600)\n", "w" diff --git a/pyabc2/abcjs/headless/package.json b/pyabc2/abcjs/headless/package.json index 486fb18..586e19c 100644 --- a/pyabc2/abcjs/headless/package.json +++ b/pyabc2/abcjs/headless/package.json @@ -11,8 +11,8 @@ "abcjs-render": "./cli.cjs" }, "dependencies": { - "abcjs": "6.4.4", - "jsdom": "^26.0.0" + "abcjs": "6.6.2", + "jsdom": "^29.0.0" }, "author": "zmoon", "license": "ISC" diff --git a/pyabc2/abcjs/htmlgen/__init__.py b/pyabc2/abcjs/htmlgen/__init__.py index 6f2aa94..e69d519 100644 --- a/pyabc2/abcjs/htmlgen/__init__.py +++ b/pyabc2/abcjs/htmlgen/__init__.py @@ -6,7 +6,7 @@ {title:s} - +