Skip to content

Commit

Permalink
See #144. Add JSX language tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed May 20, 2015
1 parent 559c2ec commit d0ee5fb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/simple-jsbeautifyrc/jsx/expected/test.jsx
Original file line number Diff line number Diff line change
@@ -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}/>;
});
}
});
7 changes: 7 additions & 0 deletions examples/simple-jsbeautifyrc/jsx/original/test.jsx
Original file line number Diff line number Diff line change
@@ -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} />;
});
}
});

0 comments on commit d0ee5fb

Please sign in to comment.