From d0ee5fb53832a2705cefffc3871c874332d92bd2 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Wed, 20 May 2015 13:40:59 -0300 Subject: [PATCH] See #144. Add JSX language tests --- examples/simple-jsbeautifyrc/jsx/expected/test.jsx | 7 +++++++ examples/simple-jsbeautifyrc/jsx/original/test.jsx | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 examples/simple-jsbeautifyrc/jsx/expected/test.jsx create mode 100644 examples/simple-jsbeautifyrc/jsx/original/test.jsx diff --git a/examples/simple-jsbeautifyrc/jsx/expected/test.jsx b/examples/simple-jsbeautifyrc/jsx/expected/test.jsx new file mode 100644 index 0000000..bc94f6e --- /dev/null +++ b/examples/simple-jsbeautifyrc/jsx/expected/test.jsx @@ -0,0 +1,7 @@ +var Mist = React.createClass({ + renderList: function () { + return this.props.items.map(function (item) { + return {item}} key={item.id}/>; + }); + } +}); \ No newline at end of file diff --git a/examples/simple-jsbeautifyrc/jsx/original/test.jsx b/examples/simple-jsbeautifyrc/jsx/original/test.jsx new file mode 100644 index 0000000..de02ac6 --- /dev/null +++ b/examples/simple-jsbeautifyrc/jsx/original/test.jsx @@ -0,0 +1,7 @@ +var Mist = React.createClass({ + renderList: function () { + return this.props.items.map(function (item) { + return {item}} key={item.id} />; + }); + } +}); \ No newline at end of file