Repository navigation
Commit 7e0dcc7
sanderaido
New plural unit decision functions
Removed zero-unit pluralization and added new unit functions with custom string support. Exaple usage in html:
<timer>{{ minutes }} {{ minuteUnit('minute','minutes') }} {{ seconds }} {{ secondUnit('second','seconds') }}1 parent 21f1d51 commit 7e0dcc7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments