fix indentation

This commit is contained in:
Alexander Alemayhu 2020-05-21 13:51:57 +02:00
parent a31c432f5e
commit 0a8470b4e1
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
export tag List
prop list
def completeItem item
console.log "clicked,{item:completed}"
item:completed = !item:completed
def completeItem item
console.log "clicked,{item:completed}"
item:completed = !item:completed
def render
<self>
<ul> for item in list
<li .{item:completed} :tap.completeItem(item)> item:title
<li .completed=(item:completed) :tap.completeItem(item)> item:title