oo-redux-utils
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -92,8 +92,14 @@ "use strict"; | ||
actionDefs.forEach(function (_ref) { | ||
var _ref2 = _slicedToArray(_ref, 2), | ||
actionClass = _ref2[0], | ||
params = _ref2[1]; | ||
actionDefs.forEach(function (actionDef) { | ||
if (Array.isArray(actionDef)) { | ||
var _actionDef = _slicedToArray(actionDef, 2), | ||
actionClass = _actionDef[0], | ||
params = _actionDef[1]; | ||
return _this3.dispatchActionWithDi(diContainer, actionClass, params); | ||
_this3.dispatchActionWithDi(diContainer, actionClass, params); | ||
} else if (typeof actionDef === 'function') { | ||
_this3.dispatchActionWithDi(diContainer, actionDef[0]); | ||
} else { | ||
_this3.dispatchAction(actionDef); | ||
} | ||
}); | ||
@@ -100,0 +106,0 @@ } |
{ | ||
"name": "oo-redux-utils", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"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
67637
464