diff --git a/pyscriptjs/public/bokeh_interactive.html b/pyscriptjs/public/bokeh_interactive.html index 1cb1b8b..f43ee9a 100644 --- a/pyscriptjs/public/bokeh_interactive.html +++ b/pyscriptjs/public/bokeh_interactive.html @@ -67,7 +67,7 @@ def doc_json(model, target): def _link_docs(pydoc, jsdoc): def jssync(event): - if (event.setter_id is not None): + if getattr(event, 'setter_id', None) is not None: return events = [event] json_patch = jsdoc.create_json_patch_string(pyodide.to_js(events)) diff --git a/pyscriptjs/public/panel.html b/pyscriptjs/public/panel.html index 6319144..4b972ef 100644 --- a/pyscriptjs/public/panel.html +++ b/pyscriptjs/public/panel.html @@ -3,11 +3,9 @@ Panel Example - - - + @@ -22,7 +20,7 @@ import asyncio import micropip -await micropip.install(['panel==0.13.0rc9']) +await micropip.install(['panel==0.13.0rc10']) import panel as pn diff --git a/pyscriptjs/public/panel_kmeans.html b/pyscriptjs/public/panel_kmeans.html index ee8e902..f45be4c 100644 --- a/pyscriptjs/public/panel_kmeans.html +++ b/pyscriptjs/public/panel_kmeans.html @@ -4,14 +4,14 @@ Pyscript/Panel KMeans Demo - + - - - - + + + + @@ -20,14 +20,14 @@ - + - - + +