1 | "use strict";
|
2 |
|
3 | var compose = require('redux').compose;
|
4 |
|
5 | exports.__esModule = true;
|
6 | exports.composeWithDevTools = (
|
7 | typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ?
|
8 | window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ :
|
9 | function() {
|
10 | if (arguments.length === 0) return undefined;
|
11 | if (typeof arguments[0] === 'object') return compose;
|
12 | return compose.apply(null, arguments);
|
13 | }
|
14 | );
|
15 |
|
16 | exports.devToolsEnhancer = (
|
17 | typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION__ ?
|
18 | window.__REDUX_DEVTOOLS_EXTENSION__ :
|
19 | function() { return function(noop) { return noop; } }
|
20 | );
|