This repository has been archived by the owner on Nov 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(all): Use one-time bindings where appropriate
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<div class="autocomplete" ng-if="suggestionList.visible"> | ||
<ul class="suggestion-list"> | ||
<li class="suggestion-item" | ||
ng-repeat="item in suggestionList.items track by track(item)" | ||
ng-repeat="item in ::suggestionList.items track by track(item)" | ||
ng-class="{selected: item == suggestionList.selected}" | ||
ng-click="addSuggestionByIndex($index)" | ||
ng-mouseenter="suggestionList.select($index)"> | ||
<ti-autocomplete-match data="item"></ti-autocomplete-match> | ||
<ti-autocomplete-match data="::item"></ti-autocomplete-match> | ||
</li> | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<span ng-bind="$getDisplayText()"></span> | ||
<a class="remove-button" ng-click="$removeTag()" ng-bind="$$removeTagSymbol"></a> | ||
<a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters