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:
@@ -8,15 +8,13 @@ var React = require('react/addons');
|
||||
require('../../styles/<%= classedName %>.css');
|
||||
|
||||
var <%= classedName %> = React.createClass({
|
||||
/*jshint ignore:start */
|
||||
render: function () {
|
||||
return (
|
||||
<div>
|
||||
<p>Content for <%= classedName %></p>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
/*jshint ignore:end */
|
||||
});
|
||||
|
||||
module.exports = <%= classedName %>;
|
||||
|
||||
Reference in New Issue
Block a user