Don't watch for changes on existing lines
How did we miss this angular 1.3 feature? It appears to be a bit similar to bindonce, but also works in ng-repeat! See https://docs.angularjs.org/guide/expression#one-time-binding
This commit is contained in:
parent
6fb2d6b364
commit
d3b8df8bb0
1 changed files with 3 additions and 3 deletions
|
@ -259,10 +259,10 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
|
|||
<span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'HH'"></span><span class="cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters">:</span><span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'mm'"></span><span class="seconds"><span class="cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters">:</span><span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'ss'"></span></span>
|
||||
</span>
|
||||
</td>
|
||||
<td class="prefix"><a ng-click="addMention(bufferline.prefix)"><span ng-repeat="part in bufferline.prefix" bo-class="part.classes" bo-html="part.text"></span></a></td>
|
||||
<td class="prefix"><a ng-click="addMention(bufferline.prefix)"><span ng-repeat="part in ::bufferline.prefix" bo-class="part.classes" bo-html="part.text"></span></a></td>
|
||||
<td class="message">
|
||||
<div ng-repeat="metadata in bufferline.metadata" plugin data="metadata"></div>
|
||||
<span ng-repeat="part in bufferline.content" class="text" bo-class="part.classes" bo-html="part.text | irclinky:'_blank' | inlinecolour"></span>
|
||||
<div ng-repeat="metadata in ::bufferline.metadata" plugin data="::metadata"></div>
|
||||
<span ng-repeat="part in ::bufferline.content" class="text" bo-class="part.classes" bo-html="part.text | irclinky:'_blank' | inlinecolour"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="readmarker" ng-if="activeBuffer().lastSeen==$index">
|
||||
|
|
Loading…
Reference in a new issue