diff --git a/examples/simple-jsbeautifyrc/jsx/expected/test.jsx b/examples/simple-jsbeautifyrc/jsx/expected/test.jsx index dc7edc7..d8cef2f 100644 --- a/examples/simple-jsbeautifyrc/jsx/expected/test.jsx +++ b/examples/simple-jsbeautifyrc/jsx/expected/test.jsx @@ -1,4 +1,5 @@ -var Mist = React.createClass({renderList: function() { +var Mist = React.createClass({ + renderList: function() { return this.props.items.map(function(item) { return {item}} key={item.id}/>; }); diff --git a/package.json b/package.json index c5c50e8..b28c823 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "loophole": "^1.0.0", "node-dir": "^0.1.8", "node-uuid": "^1.4.3", - "prettydiff": "^1.15.7", + "prettydiff": "^1.15.16", "season": "^5.3.0", "space-pen": "^5.1.1", "strip-json-comments": "^1.0.2",