Update mithril.md

This commit is contained in:
webcss 2015-04-03 22:53:42 +02:00
parent f7413dc6e3
commit 85894a1536

View file

@ -100,10 +100,12 @@ var links = [
];
m.render(document.body, [
m("ul.nav", [
m("li", links.map(function(link) {
return m("a", {href: link.url}, link.title)
}))
m("ul.nav",
links.map(function(link) {
return m("li",
m("a", {href: link.url}, link.title)
);
})
])
]);
```