mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-29 13:11:10 +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:
1 parent
d6d216d05d
commit
f8e3d3c6eb
5 files changed
+7
-9
No files matched your search
@@ -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