mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user