// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`t-on t-on expression captured in t-foreach 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { isBoundary, withDefault, setContextValue, prepareList, withKey } = helpers; let block1 = createBlock(\`
dec
something
\`); let block7 = createBlock(\`paragraph
\`); function slot1(ctx, node, key = \\"\\") { const b6 = block6(); const b7 = block7(); const hdlr1 = [()=>this.state.count++, ctx]; return catcher1(multi([b6, b7]), [hdlr1]); } return function template(ctx, node, key = \\"\\") { const b2 = text(\` [\`); const b3 = text(ctx['state'].count); const b4 = text(\`] \`); const ctx1 = capture(ctx); const b8 = comp1({slots: markRaw({'myslot': {__render: slot1.bind(this), __ctx: ctx1}})}, key + \`__1\`, node, this, null); return multi([b2, b3, b4, b8]); } }" `; exports[`t-on t-on on t-set-slots 2`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { callSlot } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'myslot', false, {}); } }" `; exports[`t-on t-on on t-slots 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { markRaw } = helpers; const comp1 = app.createComponent(\`Child\`, true, true, false, true); let block1 = createBlock(\`something
\`); function slot1(ctx, node, key = \\"\\") { return block1(); } return function template(ctx, node, key = \\"\\") { return comp1({slots: markRaw({'default': {__render: slot1.bind(this), __ctx: ctx}})}, key + \`__1\`, node, this, null); } }" `; exports[`t-on t-on on t-slots 2`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { callSlot, createCatcher } = helpers; const catcher1 = createCatcher({\\"click\\":0}); return function template(ctx, node, key = \\"\\") { const b2 = text(\` [\`); const b3 = text(ctx['state'].count); const b4 = text(\`] \`); const hdlr1 = [()=>this.state.count++, ctx]; const b5 = catcher1(callSlot(ctx, node, key, 'default', false, {}), [hdlr1]); return multi([b2, b3, b4, b5]); } }" `; exports[`t-on t-on when first component child is an empty component 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { createCatcher } = helpers; const comp1 = app.createComponent(\`Child\`, true, false, false, false); const catcher1 = createCatcher({\\"click\\":0}); let block1 = createBlock(\`