mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-10-31 07:57:39 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			671 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			671 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| var compose = require('redux').compose;
 | |
| 
 | |
| exports.__esModule = true;
 | |
| exports.composeWithDevTools =
 | |
|   typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
 | |
|     ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
 | |
|     : function () {
 | |
|         if (arguments.length === 0) return undefined;
 | |
|         if (typeof arguments[0] === 'object') return compose;
 | |
|         return compose.apply(null, arguments);
 | |
|       };
 | |
| 
 | |
| exports.devToolsEnhancer =
 | |
|   typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION__
 | |
|     ? window.__REDUX_DEVTOOLS_EXTENSION__
 | |
|     : function () {
 | |
|         return function (noop) {
 | |
|           return noop;
 | |
|         };
 | |
|       };
 |