1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00

Update examples

This commit is contained in:
Philipp Rudiger
2022-04-10 14:50:14 +02:00
parent b245e5aad2
commit ff29a9945d
3 changed files with 59 additions and 38 deletions

View File

@@ -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))