// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`t-raw literal 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = html('ok'); return block1([], [b2]); } }" `; exports[`t-raw literal, no outside html element 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return html('ok'); } }" `; exports[`t-raw multiple calls to t-raw 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
Greeter
\`); return function template(ctx, node, key = \\"\\") { let b2 = html(ctx[zero]); let b3 = html(ctx[zero]); return block1([], [b2, b3]); } }" `; exports[`t-raw multiple calls to t-raw 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); let block2 = createBlock(\`coucou\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b2 = block2(); ctx[zero] = b2; let b3 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b3]); } }" `; exports[`t-raw not escaping 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = html(ctx['var']); return block1([], [b2]); } }" `; exports[`t-raw t-raw and another sibling node 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`hello\`); return function template(ctx, node, key = \\"\\") { let b2 = html(ctx['var']); return block1([], [b2]); } }" `; exports[`t-raw t-raw on a node with a body, as a default 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b3 = text(\`nope\`); let b2 = html(withDefault(ctx['var'], b3)); return block1([], [b2]); } }" `; exports[`t-raw t-raw on a node with a dom node in body, as a default 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); let block3 = createBlock(\`
nope
\`); return function template(ctx, node, key = \\"\\") { let b3 = block3(); let b2 = html(withDefault(ctx['var'], b3)); return block1([], [b2]); } }" `; exports[`t-raw t-raw with a in body 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return html(ctx['var']); } }" `; exports[`t-raw t-raw with comment 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = html(ctx['var']); return block1([], [b2]); } }" `; exports[`t-raw t-raw with just a t-set t-value in body 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return html(ctx['var']); } }" `; exports[`t-raw variable 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = html(ctx['var']); return block1([], [b2]); } }" `;