Skip to content

Commit

Permalink
Merge pull request #2344 from hitripod/master
Browse files Browse the repository at this point in the history
Fix webpack-example build error.
  • Loading branch information
oliviertassinari committed Dec 2, 2015
2 parents 75a21b4 + 95a9909 commit 1200b3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/webpack-example/src/app/app.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(function () {
(function() {
let React = require('react');
let ReactDOM = require('react-dom');
let injectTapEventPlugin = require('react-tap-event-plugin');
let Main = require('./components/main.jsx'); // Our custom react component
let Main = require('./components/main'); // Our custom react component

//Needed for React Developer Tools
window.React = React;
Expand Down
4 changes: 2 additions & 2 deletions examples/webpack-example/src/app/components/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Main = React.createClass({
muiTheme: React.PropTypes.object,
},

getInitialState () {
getInitialState() {
return {
muiTheme: ThemeManager.getMuiTheme(LightRawTheme),
};
Expand Down Expand Up @@ -41,7 +41,7 @@ const Main = React.createClass({
};

let standardActions = [
{ text: 'Okay' },
{text: 'Okay'},
];

return (
Expand Down

0 comments on commit 1200b3f

Please sign in to comment.