Skip to content

Commit

Permalink
docs(readme): simplify examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinspecker committed Apr 17, 2016
1 parent 091933b commit f12bfa0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default ({props}) =>
div('.list-container', {onClick: handleClick}, [
ul(
props.items.map(item =>
li([item.name])
li(item.name)
)
)
])
Expand Down Expand Up @@ -80,7 +80,7 @@ const {li, ul} = dscript(createElement)
export default props =>
ul(
props.items.map(item =>
li([item.name])
li(item.name)
)
)

Expand Down Expand Up @@ -126,7 +126,7 @@ const {li, ul} = dscript(element)
export default ({props}) =>
ul(
props.items.map(item =>
li([item.name])
li(item.name)
)
)
```
Expand All @@ -152,7 +152,7 @@ export default props =>
customComponentCreator({total: props.total}),
ul(
props.items.map(item =>
li([item.name])
li(item.name)
)
)
])
Expand Down

0 comments on commit f12bfa0

Please sign in to comment.