From 2ef105dd8c345ad4b0c3beac26ece8c443fbe4a4 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 25 Jun 2015 16:09:50 -0400 Subject: [PATCH] Change binds on the tags page to `bindonce` This makes building the DOM in Angular faster --- static/directives/image-link.html | 4 +- .../directives/repo-view/repo-panel-tags.html | 41 ++++++++++--------- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/static/directives/image-link.html b/static/directives/image-link.html index a41bbd33d..93b059a95 100644 --- a/static/directives/image-link.html +++ b/static/directives/image-link.html @@ -1,2 +1,2 @@ -{{ imageId.substr(0, 12) }} \ No newline at end of file +{{ imageId.substr(0, 12) }} \ No newline at end of file diff --git a/static/directives/repo-view/repo-panel-tags.html b/static/directives/repo-view/repo-panel-tags.html index 644ecadf8..a99681846 100644 --- a/static/directives/repo-view/repo-panel-tags.html +++ b/static/directives/repo-view/repo-panel-tags.html @@ -89,40 +89,41 @@ + ng-class="checkedTags.isChecked(tag, checkedTags.checked) ? 'checked' : ''" + bindonce> - {{ tag.name }} + - - Unknown + + Unknown - {{ tag.size | bytes }} + - - - + + + - +