import times from 'lodash.times';
import vaus from 'game/resources/vaus.svg';
import View from 'ui/view';

export default ({el, model}) => {
	return View({el, model, onRender(el, model) {
		times(model.count(), () => {
			const life = document.createElement('li');
			life.innerHTML = vaus;
			life.className = 'life';
			el.appendChild(life);
		});
	}});
}

@@ -172,20 +172,39 @@
 der(
-el, model) %7B
+view) %7B%0A%09%09const el = view.el();
 %0A%09%09t
@@ -208,21 +208,28 @@
 %09%09times(
+view.
 model
+()
 .count()

Fix LifesView Widget