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