See #144. Add JSX language tests

This commit is contained in:
Glavin Wiechert 2015-05-20 13:40:59 -03:00
parent 559c2ecbd7
commit d0ee5fb538
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
var Mist = React.createClass({
renderList: function () {
return this.props.items.map(function (item) {
return <ListItem item={return <tag>{item}</tag>} key={item.id}/>;
});
}
});

View File

@ -0,0 +1,7 @@
var Mist = React.createClass({
renderList: function () {
return this.props.items.map(function (item) {
return <ListItem item={return <tag>{item}</tag>} key={item.id} />;
});
}
});