Skip to content

Commit ea0cdde

Browse files
committed
simplify the example
1 parent ee1db16 commit ea0cdde

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pyscriptjs/examples/pylist.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ def on_click(self, evt=None):
1313
self.strike(self.data['done'])
1414

1515
self.select('input').element.checked = self.data['done']
16-
17-
def display(self):
18-
return self.data['content']
19-
16+
2017

2118
def add_task(*ags, **kws):
2219
task = { "content": new_task_content.value, "done": False, "created_at": dt.now() }

0 commit comments

Comments
 (0)