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