oo-redux-utils
Advanced tools
Comparing version 1.12.0 to 1.13.0
@@ -14,18 +14,31 @@ "use strict"; | ||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
var AbstractController = function AbstractController(dispatch) { | ||
var stateNamespace = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; | ||
var AbstractController = | ||
/*#__PURE__*/ | ||
function () { | ||
function AbstractController(dispatch) { | ||
_classCallCheck(this, AbstractController); | ||
_classCallCheck(this, AbstractController); | ||
_defineProperty(this, "dispatchAction", void 0); | ||
_defineProperty(this, "dispatchAction", void 0); | ||
this.dispatchAction = _DispatchUtils.default.createActionDispatcher(dispatch); | ||
} // noinspection JSMethodCanBeStatic | ||
_defineProperty(this, "stateNamespace", void 0); | ||
this.dispatchAction = _DispatchUtils.default.createActionDispatcher(dispatch); | ||
this.stateNamespace = stateNamespace; | ||
}; | ||
_createClass(AbstractController, [{ | ||
key: "getComponentPropNameToDispatchFnMap", | ||
value: function getComponentPropNameToDispatchFnMap() { | ||
throw new Error('Abstract method error'); | ||
} | ||
}]); | ||
return AbstractController; | ||
}(); | ||
exports.default = AbstractController; | ||
//# sourceMappingURL=AbstractController.js.map |
{ | ||
"name": "oo-redux-utils", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "Utility functions for Object-oriented Redux", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
43475
289