From f679bede0313e7909f76f224a14fe946d19cbb65 Mon Sep 17 00:00:00 2001 From: Mael Date: Mon, 24 Sep 2018 15:14:40 +0000 Subject: [PATCH] test --- source/engine/index.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 +}