Make linter happy

This commit is contained in:
Henri Bergius 2017-12-05 11:52:23 +01:00
parent 3be3ef3287
commit e34698612a

View file

@ -73,7 +73,7 @@ class UserList extends Component {
render({ data }) { render({ data }) {
const el = document.createElement('div'); const el = document.createElement('div');
const colormap = interpolate(['#3465a4', '#729fcf', '#8ae234', '#fce94f', '#ef2929']); const colormap = interpolate(['#3465a4', '#729fcf', '#8ae234', '#fce94f', '#ef2929']);
const colorAtIndex = (val) => colormap(Math.min(val / 22, 22)); const colorAtIndex = val => colormap(Math.min(val / 22, 22));
el.className = 'terminal'; el.className = 'terminal';
el.innerHTML = ` el.innerHTML = `
<div class="deco"><span class="prompt">user@c-beam&gt;</span> #who</div> <div class="deco"><span class="prompt">user@c-beam&gt;</span> #who</div>