diff --git a/source/engine/index.js b/source/engine/index.js index 1ec5eda9f..8a78045d7 100644 --- a/source/engine/index.js +++ b/source/engine/index.js @@ -11,7 +11,10 @@ let nestedSituationToStateSelector = nestedSituation => dottedName => ...nestedSituationToPathMap(nestedSituation) }[dottedName]) -export default (targetNames, nestedSituation) => - analyseMany(parsedRules, targetNames)( - nestedSituationToStateSelector(nestedSituation) - ) +export default { + eval: (targetNames, nestedSituation) => + analyseMany(parsedRules, targetNames)( + nestedSituationToStateSelector(nestedSituation) + ), + a: () => 7 +}