1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

code formatting

This commit is contained in:
Tim Daubenschütz 2015-05-18 09:59:45 +02:00
parent 25a715ddb3
commit 6ae7ff0d4b
4 changed files with 16 additions and 16 deletions

View File

@ -4,14 +4,14 @@ import Router from 'react-router';
var RouteHandler = Router.RouteHandler; var RouteHandler = Router.RouteHandler;
class AscribeApp extends React.Component { class AscribeApp extends React.Component {
render () { render () {
return ( return (
<div> <div>
<h1>ascribe all the things!</h1> <h1>ascribe all the things!</h1>
<RouteHandler /> <RouteHandler />
</div> </div>
); );
} }
}; };
export default AscribeApp; export default AscribeApp;

View File

@ -1,13 +1,13 @@
import React from 'react'; import React from 'react';
class ArtworkList extends React.Component { class ArtworkList extends React.Component {
render () { render() {
return ( return (
<ul> <ul>
<li>This is an artwork</li> <li>This is an artwork</li>
</ul> </ul>
); );
} }
}; };
export default ArtworkList; export default ArtworkList;

View File

@ -2,4 +2,4 @@ class ArtworkListStore {
constructor() { constructor() {
this.artworkList = []; this.artworkList = [];
} }
} };

View File

@ -6,7 +6,7 @@ import ArtworkList from './components/artwork_list';
var Route = Router.Route; var Route = Router.Route;
var routes = ( var routes = (
<Route handler={AscribeApp}> <Route handler={AscribeApp}>
<Route path="artworks" handler={ArtworkList} /> <Route path="artworks" handler={ArtworkList} />
</Route> </Route>
); );