Delete useless sagas file

This commit is contained in:
Pierre BURGY 2016-08-26 13:33:22 +02:00
parent a9aaec9fc0
commit ae10a5c994
2 changed files with 0 additions and 44 deletions

View File

@ -1,42 +0,0 @@
// /**
// * Gets the repositories of the user from Github
// */
//
// import { take, call, put, select, fork, cancel } from 'redux-saga/effects';
// import { LOCATION_CHANGE } from 'react-router-redux';
// import { REGISTER_PLUGIN } from 'containers/App/constants';
//
// import { getAsyncInjectors } from 'utils/asyncInjectors';
// // const { injectReducer, injectSagas } = getAsyncInjectors(store); // eslint-disable-line no-unused-vars
// import { Router, Route, Link } from 'react-router'
//
// /**
// * Register plugin
// */
// export function* registerPlugin() {
//
// }
//
// /**
// * Watches for REGISTER_PLUGIN action and calls handler
// */
// export function* getPluginsWatcher() {
// yield call(registerPlugin);
// }
//
// /**
// * Root saga manages watcher lifecycle
// */
// export function* pluginData() {
// // Fork watcher so we can continue execution
// const watcher = yield fork(getPluginsWatcher);
//
// // Suspend execution until location changes
// yield take(LOCATION_CHANGE);
// yield cancel(watcher);
// }
//
// // Bootstrap sagas
// export default [
// pluginData,
// ];

View File

@ -22,7 +22,6 @@ export default function createRoutes(store) {
name: 'home',
getComponent(nextState, cb) {
const importModules = Promise.all([
System.import('containers/HomePage/sagas'),
System.import('containers/HomePage'),
]);
@ -40,7 +39,6 @@ export default function createRoutes(store) {
name: 'plugins',
getComponent(nextState, cb) {
const importModules = Promise.all([
System.import('containers/HomePage/sagas'),
System.import('containers/HomePage'),
]);