Skip to content

Commit fb1d8c6

Browse files
committed
refactor: move deepProxy into utils.
1 parent eb60aee commit fb1d8c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/app/app-with-v-template.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ new Vue({
3131
},
3232
template: `
3333
<Page>
34-
<StackLayout>
34+
<GridLayout>
3535
<list-view for="line in items">
3636
<v-template>
3737
<StackLayout style="padding: 50;">
3838
<Label :text="line" style="color: blue;"/>
3939
</StackLayout>
4040
</v-template>
41-
<v-template if="line.value.length == 2">
41+
<v-template if="line.length == 2">
4242
<StackLayout style="padding: 50;">
4343
<Label :text="line" style="color: green;"/>
4444
</StackLayout>
4545
</v-template>
46-
<v-template if="line.odd">
46+
<v-template if="$odd">
4747
<StackLayout style="padding: 50;">
4848
<Label :text="line" style="color: red;"/>
4949
</StackLayout>
5050
</v-template>
5151
</list-view>
52-
</StackLayout>
52+
</GridLayout>
5353
</Page>
5454
`
5555
}).$start()

0 commit comments

Comments
 (0)