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;
class AscribeApp extends React.Component {
render () {
return (
<div>
<h1>ascribe all the things!</h1>
<RouteHandler />
</div>
);
}
render () {
return (
<div>
<h1>ascribe all the things!</h1>
<RouteHandler />
</div>
);
}
};
export default AscribeApp;

View File

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

View File

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

View File

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