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
import React, { Navigator } from 'react-native'; | |
import RouterRegistry from './RouterRegistry'; | |
import navigateTo from './routerActions'; | |
const BACK = 'BACK'; | |
const FORWARD = 'FORWARD'; | |
class Router extends React.Component { |
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
` | |
'use strict'; | |
const getEntity = function(id, key, entities){ | |
const ent = entities[key][id]; | |
if(ent === undefined || ent === null){ | |
console.log(`Missing object ${key} ${id}`); | |
} |
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
import appRootDir from 'app-root-dir'; | |
import AssetsPlugin from 'assets-webpack-plugin'; | |
import ExtractTextPlugin from 'extract-text-webpack-plugin'; | |
import nodeExternals from 'webpack-node-externals'; | |
import path from 'path'; | |
import webpack from 'webpack'; | |
import WebpackMd5Hash from 'webpack-md5-hash'; | |
import { happyPackPlugin } from '../utils'; | |
import { ifElse } from '../../shared/utils/logic'; |
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
import appRootDir from 'app-root-dir'; | |
import AssetsPlugin from 'assets-webpack-plugin'; | |
import ExtractTextPlugin from 'extract-text-webpack-plugin'; | |
import nodeExternals from 'webpack-node-externals'; | |
import path from 'path'; | |
import webpack from 'webpack'; | |
import WebpackMd5Hash from 'webpack-md5-hash'; | |
import { happyPackPlugin } from '../utils'; | |
import { ifElse } from '../../shared/utils/logic'; |
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 module is responsible for generating the HTML page response for | |
* the react application middleware. | |
*/ | |
/* eslint-disable react/no-danger */ | |
/* eslint-disable react/no-array-index-key */ | |
import React, { Children, PropTypes } from 'react'; | |
import serialize from 'serialize-javascript'; |
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
import React from 'react'; | |
import { makeStyles } from '@material-ui/styles'; | |
import Grid from '@material-ui/core/Grid'; | |
const HIDDEN = 'hidden'; | |
/** | |
* Hacky solution to deal with missing grid offset | |
*/ |