Skip to content

Commit

Permalink
1 3 5 remove devtools, some styling of crib
Browse files Browse the repository at this point in the history
  • Loading branch information
nikfrank committed Jun 10, 2017
1 parent 0d7966e commit 580c9a8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion canon/crib/src/Round/Round.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default {
cut: {
borderRadius: '5px',
position:'fixed',
top:'48vh',
top:'42vh',
left:'0vw',
width:'100vw',
height:'10vh',
Expand Down
2 changes: 1 addition & 1 deletion canon/crib/src/Round/Round.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class Round extends Component {

{
cutYet? (
<div style={{float:'right', width:'50vw'}}>
<div style={style.cut}>
<Hand cards={[this.props.subState.get('cut')]}/>
</div>
) : null
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tahini",
"version": "1.3.4",
"version": "1.3.5",
"description": "flexible vocabulary scoping for react",
"scripts": {
"build": "babel -d dist/ src/",
Expand Down
9 changes: 3 additions & 6 deletions src/stores.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createStore, applyMiddleware, compose } from 'redux';
import { createStore, applyMiddleware } from 'redux';
import { fromJS } from 'immutable';

import { createReflection } from './reflection';
Expand All @@ -11,7 +11,6 @@ import {
export const baseReducerHash = ()=>({
global:{
'@@redux/INIT': (state = fromJS({}), action)=> state,
'@@INIT': (state = fromJS({}), action)=> state,
setSubState: (state, action)=> state.setIn(action.path, action.payload)
}
});
Expand All @@ -24,10 +23,8 @@ export const bootStores = function(middleware = [], reducerHash = baseReducerHas

const appStore = createStore(
isolateMutationByDataPath( consumeActionByNamespace(reducerHash) ),
compose(
applyMiddleware(...middleware),
window && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
) );
applyMiddleware(...middleware),
);

// boot the reflection
const reflection = createReflection();
Expand Down

0 comments on commit 580c9a8

Please sign in to comment.