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 export tag List
prop list prop list
def completeItem item def completeItem item
console.log "clicked,{item:completed}" console.log "clicked,{item:completed}"
item:completed = !item:completed item:completed = !item:completed
def render def render
<self> <self>
<ul> for item in list <ul> for item in list
<li .{item:completed} :tap.completeItem(item)> item:title <li .completed=(item:completed) :tap.completeItem(item)> item:title