Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from old jsx script to webpack
The amount of extra files says something...
- Loading branch information
Showing
12 changed files
with
147 additions
and
20,256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
bower_components | ||
node_modules | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from 'react'; | ||
import Spinner from '../'; | ||
|
||
const App = React.createClass({ | ||
render: function() { | ||
const style = { | ||
height: 50, | ||
width: 50, | ||
backgroundColor: 'black' | ||
}; | ||
return ( | ||
<div style={style}> | ||
<Spinner /> | ||
</div> | ||
); | ||
} | ||
}); | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,5 @@ | ||
var React = require('react'); | ||
var Spinner = require('../'); | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import App from './component'; | ||
|
||
var App = React.createClass({ | ||
render: function() { | ||
var style = { | ||
height: 50, | ||
width: 50, | ||
backgroundColor: 'black' | ||
}; | ||
return ( | ||
<div style={style}> | ||
<Spinner /> | ||
</div> | ||
); | ||
} | ||
}); | ||
|
||
React.render(<App />, document.querySelector('#content')); | ||
ReactDOM.render(<App />, document.querySelector('#content')); |
Oops, something went wrong.