Skip to content

Commit 047a67a

Browse files
lafrikslunny
authored andcommitted
Refactor vue delimeters to use es6 template delimeters (#2171)
1 parent 0b17757 commit 047a67a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

public/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ function initDashboardSearch() {
16491649
}
16501650

16511651
new Vue({
1652-
delimiters: ['<%', '%>'],
1652+
delimiters: ['${', '}'],
16531653
el: el,
16541654

16551655
data: {

templates/user/dashboard/dashboard.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
<li v-for="repo in repos" :class="{'private': repo.private}">
3434
<a :href="'{{AppSubUrl}}/' + repo.full_name">
3535
<i :class="repoClass(repo)"></i>
36-
<strong class="text truncate item-name"><% repo.full_name %></strong>
36+
<strong class="text truncate item-name">${ repo.full_name }</strong>
3737
<span class="ui right text light grey">
38-
<% repo.stars_count %> <i class="octicon octicon-star rear"></i>
38+
${ repo.stars_count } <i class="octicon octicon-star rear"></i>
3939
</span>
4040
</a>
4141
</li>

0 commit comments

Comments
 (0)