Skip to content
Snippets Groups Projects
index.js 787 B
Newer Older
  • Learn to ignore specific revisions
  • chrisgarrity's avatar
    chrisgarrity committed
    import GUI from './containers/gui.jsx';
    
    import AppStateHOC from './lib/app-state-hoc.jsx';
    
    chrisgarrity's avatar
    chrisgarrity committed
    import GuiReducer, {guiInitialState, guiMiddleware, initFullScreen, initPlayer} from './reducers/gui';
    import LocalesReducer, {localesInitialState, initLocale} from './reducers/locales';
    
    chrisgarrity's avatar
    chrisgarrity committed
    import {ScratchPaintReducer} from 'scratch-paint';
    import {setFullScreen, setPlayer} from './reducers/mode';
    import {setAppElement} from 'react-modal';
    
    const guiReducers = {
    
    chrisgarrity's avatar
    chrisgarrity committed
        locales: LocalesReducer,
    
    chrisgarrity's avatar
    chrisgarrity committed
        scratchGui: GuiReducer,
        scratchPaint: ScratchPaintReducer
    };
    
    export {
        GUI as default,
    
        AppStateHOC,
    
    chrisgarrity's avatar
    chrisgarrity committed
        setAppElement,
        guiReducers,
        guiInitialState,
        guiMiddleware,
        initPlayer,
        initFullScreen,
    
    chrisgarrity's avatar
    chrisgarrity committed
        localesInitialState,
    
    chrisgarrity's avatar
    chrisgarrity committed
        setFullScreen,
        setPlayer
    };