1 | (function webpackUniversalModuleDefinition(root, factory) {
|
2 | if(typeof exports === 'object' && typeof module === 'object')
|
3 | module.exports = factory();
|
4 | else if(typeof define === 'function' && define.amd)
|
5 | define([], factory);
|
6 | else if(typeof exports === 'object')
|
7 | exports["ReduxThunk"] = factory();
|
8 | else
|
9 | root["ReduxThunk"] = factory();
|
10 | })(this, function() {
|
11 | return (function(modules) {
|
12 |
|
13 | var installedModules = {};
|
14 |
|
15 |
|
16 | function __webpack_require__(moduleId) {
|
17 |
|
18 |
|
19 | if(installedModules[moduleId])
|
20 | return installedModules[moduleId].exports;
|
21 |
|
22 |
|
23 | var module = installedModules[moduleId] = {
|
24 | exports: {},
|
25 | id: moduleId,
|
26 | loaded: false
|
27 | };
|
28 |
|
29 |
|
30 | modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31 |
|
32 |
|
33 | module.loaded = true;
|
34 |
|
35 |
|
36 | return module.exports;
|
37 | }
|
38 |
|
39 |
|
40 |
|
41 | __webpack_require__.m = modules;
|
42 |
|
43 |
|
44 | __webpack_require__.c = installedModules;
|
45 |
|
46 |
|
47 | __webpack_require__.p = "";
|
48 |
|
49 |
|
50 | return __webpack_require__(0);
|
51 | })
|
52 |
|
53 | ([
|
54 |
|
55 | (function(module, exports, __webpack_require__) {
|
56 |
|
57 | module.exports = __webpack_require__(1);
|
58 |
|
59 |
|
60 | }),
|
61 |
|
62 | (function(module, exports) {
|
63 |
|
64 | 'use strict';
|
65 |
|
66 | exports.__esModule = true;
|
67 | function createThunkMiddleware(extraArgument) {
|
68 | return function (_ref) {
|
69 | var dispatch = _ref.dispatch,
|
70 | getState = _ref.getState;
|
71 | return function (next) {
|
72 | return function (action) {
|
73 | if (typeof action === 'function') {
|
74 | return action(dispatch, getState, extraArgument);
|
75 | }
|
76 |
|
77 | return next(action);
|
78 | };
|
79 | };
|
80 | };
|
81 | }
|
82 |
|
83 | var thunk = createThunkMiddleware();
|
84 | thunk.withExtraArgument = createThunkMiddleware;
|
85 |
|
86 | exports['default'] = thunk;
|
87 |
|
88 | })
|
89 | ])
|
90 | });
|
91 | ; |
\ | No newline at end of file |