DEV: enforces ember-template-lint: no-unbound (#9147)

From ember-template-lint documentation (https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-unbound.md):

```
{{unbound}} is a legacy hold over from the days in which Ember's template engine was less performant. Its use today is vestigial, and it no longer offers performance benefits.

It is also a poor practice to use it for rendering only the initial value of a property that may later change.
```

Co-Authored-By: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
Joffrey JAFFEUX
2020-03-09 15:28:31 +01:00
committed by GitHub
parent 345ac6cb67
commit f1bb1db354
53 changed files with 86 additions and 85 deletions

View File

@ -55,7 +55,7 @@
{{#if fromSelected}}
<div class="time-pickers">
{{d-icon "far-clock"}}
{{input maxlength=5 placeholder="hh:mm" input=(action "setTime") type="time" value=(unbound time) class="time-picker"}}
{{input maxlength=5 placeholder="hh:mm" input=(action "setTime") type="time" value=time class="time-picker"}}
</div>
{{/if}}
@ -63,7 +63,7 @@
{{#if toDate}}
<div class="time-pickers">
{{d-icon "far-clock"}}
{{input maxlength=5 placeholder="hh:mm" input=(action "setToTime") type="time" value=(unbound toTime) class="time-picker"}}
{{input maxlength=5 placeholder="hh:mm" input=(action "setToTime") type="time" value=toTime class="time-picker"}}
</div>
{{/if}}
{{/if}}