GT2/GT2-Android/node_modules/redux/lib/index.js

46 lines
1.9 KiB
JavaScript
Raw Normal View History

'use strict';
exports.__esModule = true;
exports.compose = exports.applyMiddleware = exports.bindActionCreators = exports.combineReducers = exports.createStore = undefined;
var _createStore = require('./createStore');
var _createStore2 = _interopRequireDefault(_createStore);
var _combineReducers = require('./combineReducers');
var _combineReducers2 = _interopRequireDefault(_combineReducers);
var _bindActionCreators = require('./bindActionCreators');
var _bindActionCreators2 = _interopRequireDefault(_bindActionCreators);
var _applyMiddleware = require('./applyMiddleware');
var _applyMiddleware2 = _interopRequireDefault(_applyMiddleware);
var _compose = require('./compose');
var _compose2 = _interopRequireDefault(_compose);
var _warning = require('./utils/warning');
var _warning2 = _interopRequireDefault(_warning);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
/*
* This is a dummy function to check if the function name has been altered by minification.
* If the function has been minified and NODE_ENV !== 'production', warn the user.
*/
function isCrushed() {}
if (process.env.NODE_ENV !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
(0, _warning2['default'])('You are currently using minified code outside of NODE_ENV === \'production\'. ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) ' + 'to ensure you have the correct code for your production build.');
}
exports.createStore = _createStore2['default'];
exports.combineReducers = _combineReducers2['default'];
exports.bindActionCreators = _bindActionCreators2['default'];
exports.applyMiddleware = _applyMiddleware2['default'];
exports.compose = _compose2['default'];