From 4cc508970e82d575ba3833c1c8cd03aaf5bd853e Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Thu, 13 Jul 2017 22:45:54 +0200 Subject: [PATCH] :gear: Mise en alignement --- source/engine/traverse.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source/engine/traverse.js b/source/engine/traverse.js index 53bcdcda6..b629685cf 100644 --- a/source/engine/traverse.js +++ b/source/engine/traverse.js @@ -121,7 +121,7 @@ let buildNegatedVariable = variable => { return rewriteNode(node,nodeValue,explanation,collectMissing) } - let jsx = (nodeValue, explanation) => ( + let jsx = (nodeValue, explanation) => { } /> - ) return { evaluate, @@ -212,7 +211,8 @@ let treat = (situationGate, rules, rule) => rawNode => { ), operator = parseResult.operator - let jsx = (nodeValue, explanation) => + { let child = treat(situationGate, rules, rule)(value) - let jsx = (nodeValue, explanation) => + { let child = treat(situationGate, rules, rule)(value) - let jsx = (nodeValue, explanation) => +