Removed manual wrapping of JSX code to bypass jshint errors and advised usage of JSXHint.

Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
Simon Bailey
2014-05-15 20:49:21 +01:00
parent d6d216d05d
commit f8e3d3c6eb
5 changed files with 7 additions and 9 deletions
-2
View File
@@ -14,7 +14,6 @@ require('../../styles/main.css');
var imageURL = '../../images/yeoman.png';
var <%= scriptAppName %> = React.createClass({
/*jshint ignore:start */
render: function() {
return (
<div className='main'>
@@ -24,7 +23,6 @@ var <%= scriptAppName %> = React.createClass({
</div>
);
}
/*jshint ignore:end */
});
React.renderComponent(<<%= scriptAppName %> />, document.getElementById('content')); // jshint ignore:line