File tree Expand file tree Collapse file tree 6 files changed +17
-17
lines changed Expand file tree Collapse file tree 6 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 1414 <!-- main view -->
1515 <component
1616 class =" view"
17- bind- is =" view"
18- bind- params =" params"
17+ : is =" view"
18+ : params =" params"
1919 keep-alive
2020 transition
2121 transition-mode =" out-in" >
Original file line number Diff line number Diff line change 11<template >
22 <li v-show =" comment.text" >
33 <div class =" comhead" >
4- <a class =" toggle" on- click =" open = !open" >{{open ? '[-]' : '[+]'}}</a >
5- <a bind- href =" '#/user/' + comment.by" >{{comment.by}}</a >
4+ <a class =" toggle" @ click =" open = !open" >{{open ? '[-]' : '[+]'}}</a >
5+ <a : href =" '#/user/' + comment.by" >{{comment.by}}</a >
66 {{comment.time | fromNow}} ago
77 </div >
88 <div class =" comment-content" v-show =" open" >
99 {{{comment.text}}}
1010 </div >
1111 <ul class =" child-comments" v-if =" comment.kids" v-show =" open" >
12- <comment v-for =" comment in childComments" bind- comment =" comment" ></comment >
12+ <comment v-for =" comment in childComments" : comment =" comment" ></comment >
1313 </ul >
1414 </li >
1515</template >
Original file line number Diff line number Diff line change 22 <div class =" item" >
33 <span class =" index" >{{index}}.</span >
44 <p >
5- <a class =" title" bind- href =" href" target =" _blank" >{{item.title}}</a >
5+ <a class =" title" : href =" href" target =" _blank" >{{item.title}}</a >
66 <span class =" domain" v-show =" showDomain" >
77 ({{item.url | domain}})
88 </span >
99 </p >
1010 <p class =" subtext" >
1111 <span v-show =" showInfo" >
1212 {{item.score}} points by
13- <a bind- href =" '#/user/' + item.by" >{{item.by}}</a >
13+ <a : href =" '#/user/' + item.by" >{{item.by}}</a >
1414 </span >
1515 {{item.time | fromNow}} ago
1616 <span class =" comments-link" v-show =" showInfo" >
17- | <a bind- href =" '#/item/' + item.id" >{{item.descendants}} comments</a >
17+ | <a : href =" '#/item/' + item.id" >{{item.descendants}} comments</a >
1818 </span >
1919 </p >
2020 </div >
Original file line number Diff line number Diff line change 11<template >
22 <div class =" item-view" v-show =" item" >
3- <item bind- item =" item" ></item >
3+ <item : item =" item" ></item >
44 <ul class =" poll-options" v-if =" pollOptions" >
55 <li v-for =" option in pollOptions" >
66 <p >{{option.text}}</p >
1010 <ul class =" comments" v-if =" comments" >
1111 <comment
1212 v-for =" comment in comments"
13- bind- comment =" comment" >
13+ : comment =" comment" >
1414 </comment >
1515 </ul >
1616 <p v-show =" !comments.length" >No comments yet.</p >
Original file line number Diff line number Diff line change 11<template >
2- <div class =" news-view" bind- class =" { loading: !items.length }" >
2+ <div class =" news-view" : class =" { loading: !items.length }" >
33 <!-- item list -->
44 <item
55 v-for =" item in items"
6- bind- item =" item"
7- bind- index =" getItemIndex($index)"
6+ : item =" item"
7+ : index =" getItemIndex($index)"
88 track-by =" id" >
99 </item >
1010 <!-- navigation -->
1111 <div class =" nav" v-show =" items.length > 0" >
12- <a v-if =" params.page > 1" bind- href =" '#/news/' + (params.page - 1)" >< ; prev</a >
13- <a v-if =" params.page < 4" bind- href =" '#/news/' + (params.page + 1)" >more...</a >
12+ <a v-if =" params.page > 1" : href =" '#/news/' + (params.page - 1)" >< ; prev</a >
13+ <a v-if =" params.page < 4" : href =" '#/news/' + (params.page + 1)" >more...</a >
1414 </div >
1515 </div >
1616</template >
Original file line number Diff line number Diff line change 1212 </li >
1313 </ul >
1414 <p class =" links" >
15- <a bind- href =" 'https://news.ycombinator.com/submitted?id=' + user.id" >submissions</a ><br >
16- <a bind- href =" 'https://news.ycombinator.com/threads?id=' + user.id" >comments</a >
15+ <a : href =" 'https://news.ycombinator.com/submitted?id=' + user.id" >submissions</a ><br >
16+ <a : href =" 'https://news.ycombinator.com/threads?id=' + user.id" >comments</a >
1717 </p >
1818 </div >
1919</template >
You can’t perform that action at this time.
0 commit comments