Files
freeCodeCamp/client/new-framework/execute-challenge-saga.js

14 lines
369 B
JavaScript
Raw Normal View History

2016-05-06 13:20:18 -07:00
import createTypes from '../../common/app/utils/create-types';
const filterTypes = [
execute
];
export default function executeChallengeSaga(action$, getState) {
return action$
.filter(({ type }) => filterTypes.some(_type => _type === type))
.map(action => {
if (action.type === execute) {
const editors = getState().editors;
}
})
}