mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-02 14:12:19 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
20
web/node_modules/redux-thunk/es/index.js
generated
vendored
Normal file
20
web/node_modules/redux-thunk/es/index.js
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
function createThunkMiddleware(extraArgument) {
|
||||
return function (_ref) {
|
||||
var dispatch = _ref.dispatch,
|
||||
getState = _ref.getState;
|
||||
return function (next) {
|
||||
return function (action) {
|
||||
if (typeof action === 'function') {
|
||||
return action(dispatch, getState, extraArgument);
|
||||
}
|
||||
|
||||
return next(action);
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
var thunk = createThunkMiddleware();
|
||||
thunk.withExtraArgument = createThunkMiddleware;
|
||||
|
||||
export default thunk;
|
Loading…
Add table
Add a link
Reference in a new issue