Skip to content

Commit

Permalink
Refactor vue delimeters to use es6 template delimeters (#2171)
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks authored and lunny committed Jul 15, 2017
1 parent 0b17757 commit 047a67a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,7 @@ function initDashboardSearch() {
}

new Vue({
delimiters: ['<%', '%>'],
delimiters: ['${', '}'],
el: el,

data: {
Expand Down
4 changes: 2 additions & 2 deletions templates/user/dashboard/dashboard.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
<li v-for="repo in repos" :class="{'private': repo.private}">
<a :href="'{{AppSubUrl}}/' + repo.full_name">
<i :class="repoClass(repo)"></i>
<strong class="text truncate item-name"><% repo.full_name %></strong>
<strong class="text truncate item-name">${ repo.full_name }</strong>
<span class="ui right text light grey">
<% repo.stars_count %> <i class="octicon octicon-star rear"></i>
${ repo.stars_count } <i class="octicon octicon-star rear"></i>
</span>
</a>
</li>
Expand Down

0 comments on commit 047a67a

Please sign in to comment.