Use html "class" property

As of this PR (https://github.com/substack/hyperx/pull/22) to hyperx,
attributes are automatically converted to properties for the few cases
where they’re different: class, for, and http-equiv.
This commit is contained in:
Feross Aboukhadijeh
2016-03-04 23:21:52 -08:00
parent 223edebf04
commit 1475e5f95e
4 changed files with 28 additions and 27 deletions

View File

@@ -18,9 +18,9 @@ function App (state, dispatch) {
}
return hx`
<div.app>
<div class="app">
${Header(state, dispatch)}
<div.content>${getView()}</div>
<div class="content">${getView()}</div>
</div>
`
}