fix indentation
This commit is contained in:
parent
a31c432f5e
commit
0a8470b4e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue