Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor vue delimeters to use es6 template delimeters #2171

Merged
merged 1 commit into from
Jul 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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