1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

Fix spacing

This commit is contained in:
vrde 2015-05-20 16:44:45 +02:00
parent d14e56f223
commit 8ee9bda37b
16 changed files with 22 additions and 8 deletions

View File

@ -1,6 +1,7 @@
import alt from '../alt';
import PieceListFetcher from '../fetchers/piece_list_fetcher';
class PieceListActions {
constructor() {
this.generateActions(

View File

@ -1,6 +1,7 @@
import alt from '../alt';
import UserFetcher from '../fetchers/user_fetcher';
class UserActions {
constructor() {
this.generateActions(

View File

@ -2,7 +2,6 @@ import React from 'react';
import Router from 'react-router';
import Header from '../components/header';
let Link = Router.Link;
let RouteHandler = Router.RouteHandler;

View File

@ -1,5 +1,6 @@
import React from 'react';
let Piece = React.createClass({
render() {
return (

View File

@ -11,6 +11,7 @@ import TableItemText from './table_item_text';
let Link = Router.Link;
let PieceList = React.createClass({
componentDidMount() {

View File

@ -3,6 +3,7 @@ import React from 'react';
import TableItem from './table_item';
import TableHeader from './table_header';
let Table = React.createClass({
propTypes: {
columnMap: React.PropTypes.object.isRequired

View File

@ -3,6 +3,7 @@ import React from 'react';
import TableColumnMixin from '../mixins/table_column_mixin';
import GeneralUtils from '../utils/general_utils';
let TableHeader = React.createClass({
mixins: [TableColumnMixin],
propTypes: {

View File

@ -4,6 +4,7 @@ import TableColumnMixin from '../mixins/table_column_mixin';
import TableItemImg from './table_item_img';
import TableItemText from './table_item_text';
let TableItem = React.createClass({
mixins: [TableColumnMixin],

View File

@ -1,5 +1,6 @@
import React from 'react';
let TableItemText = React.createClass({
propTypes: {
content: React.PropTypes.string.isRequired

View File

@ -3,6 +3,7 @@ import fetch from 'isomorphic-fetch';
import AppConstants from '../constants/application_constants';
import FetchApiUtils from '../utils/fetch_api_utils';
let PieceListFetcher = {
/**
* Fetches a list of pieces from the API.

View File

@ -3,6 +3,7 @@ import fetch from 'isomorphic-fetch';
import AppConstants from '../constants/application_constants';
import FetchApiUtils from '../utils/fetch_api_utils';
let UserFetcher = {
/**
* Fetch one user from the API.

View File

@ -1,5 +1,6 @@
import GeneralUtils from '../utils/general_utils';
let TableColumnMixin = {
/**
* Generates the bootstrap grid column declarations automatically using

View File

@ -7,6 +7,7 @@ import Piece from './components/piece';
let Route = Router.Route;
let routes = (
<Route name="app" path="/" handler={AscribeApp}>
<Route name="pieces" handler={PieceList}>

View File

@ -1,6 +1,7 @@
import alt from '../alt';
import PieceListActions from '../actions/piece_list_actions';
class PieceListStore {
constructor() {
this.itemList = []; // rename this to pieceList after figuring out AltContainer transform

View File

@ -1,6 +1,7 @@
import alt from '../alt';
import UserAction from '../actions/user_actions';
class UserStore{
constructor() {
this.currentUser = {}

View File

@ -1,5 +1,6 @@
import GeneralUtils from './general_utils';
// TODO: Create Unittests that test all functions
let FetchApiUtils = {