Skip to content
Snippets Groups Projects
index.js 892 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';
    
    import GuiReducer, {guiInitialState, guiMiddleware, initEmbedded, initFullScreen, initPlayer} from './reducers/gui';
    
    chrisgarrity's avatar
    chrisgarrity committed
    import LocalesReducer, {localesInitialState, initLocale} from './reducers/locales';
    
    chrisgarrity's avatar
    chrisgarrity committed
    import {ScratchPaintReducer} from 'scratch-paint';
    import {setFullScreen, setPlayer} from './reducers/mode';
    
    import {remixProject} from './reducers/project-state';
    
    chrisgarrity's avatar
    chrisgarrity committed
    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,
    
        initEmbedded,
    
    chrisgarrity's avatar
    chrisgarrity committed
        initPlayer,
        initFullScreen,
    
    chrisgarrity's avatar
    chrisgarrity committed
        localesInitialState,
    
        remixProject,
    
    chrisgarrity's avatar
    chrisgarrity committed
        setFullScreen,
    
        setPlayer
    
    chrisgarrity's avatar
    chrisgarrity committed
    };