From 60e61f4dc52d0709d31b04ef80eb57c0e38454cc Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Sat, 30 Sep 2017 21:11:33 +0200 Subject: [PATCH] =?UTF-8?q?:bug:=20Fournit=20une=20fonction=20d'affichage?= =?UTF-8?q?=20aux=20valeurs=20par=20d=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/engine/mecanisms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/engine/mecanisms.js b/source/engine/mecanisms.js index 284322422..c10066194 100644 --- a/source/engine/mecanisms.js +++ b/source/engine/mecanisms.js @@ -4,7 +4,7 @@ import {anyNull, val} from './traverse-common-functions' import {Node, Leaf} from './traverse-common-jsx' import {makeJsx, evaluateNode, rewriteNode, evaluateArray, evaluateArrayWithFilter, evaluateObject, parseObject, collectNodeMissing} from './evaluation' -let constantNode = constant => ({nodeValue: constant}) +let constantNode = constant => ({nodeValue: constant, jsx: nodeValue => {nodeValue}}) let decompose = (recurse, k, v) => { let