8a4aa4efdd
This removes the need for `switch (obj)` in the template which is not allowed in strict mode. Additionally using a named variable speeds up rendering.
7 lines
164 B
HTML
7 lines
164 B
HTML
<li>
|
|
<a href="#" class="{{{ o.value }}}" data-value="{{{ o.value }}}">
|
|
<span class="icon-{{{ o.value }}}"></span>
|
|
{{{ o.text }}}
|
|
</a>
|
|
</li>
|