docs: function(module, exports) {
  
  	"use strict";
  	
  	Object.defineProperty(exports, "__esModule", {
  	    value: true
  	});
  	
  	/**
  	 * @since 2016-08-24 17:40
  	 * @author vivaxy
  	 */
  	
  	exports.default = function (initialState, handlers) {
  	    return function () {
  	        var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;
  	        var action = arguments[1];
  	
  	        return handlers[action.type] ? handlers[action.type](state, action) : state;
  	    };
  	};
  
  /***/ }