@cicada/render
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -221,3 +221,5 @@ 'use strict'; | ||
this.intercepters = (0, _util.filter)((0, _util.mapValues)(defaultIntercepters, function (defaultIntercepter, name) { | ||
return intercepters[name] !== undefined ? (0, _util.inject)(intercepters[name], _this3.getInjectArg) : defaultIntercepter === undefined ? undefined : (0, _util.inject)(defaultIntercepter, _this3.getRenderArg); | ||
return intercepters[name] !== undefined ? (0, _util.inject)(intercepters[name], _this3.getInjectArg) : defaultIntercepter === undefined ? undefined : (0, _util.inject)(defaultIntercepter, function () { | ||
return _this3.getRenderArg(); | ||
}); | ||
}), function (i) { | ||
@@ -224,0 +226,0 @@ return i !== undefined; |
@@ -267,2 +267,3 @@ 'use strict'; | ||
var stateId = get(stateNodePath)._id; | ||
if (!stateId || !initialStates[stateId]) throw new _errors.ErrorWrongStateTreePath(inputStatePath.split('.')[0], inputStatePath); | ||
var initialState = initialStates[stateId].getInitialState(); | ||
@@ -269,0 +270,0 @@ var relativeChildPath = findRelativePath(stateNodePath, inputStatePath); |
{ | ||
"name": "@cicada/render", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
383404
9338