mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
snapshots
This commit is contained in:
@@ -32,12 +32,13 @@ exports[`t-out multiple calls to t-out 1`] = `
|
||||
) {
|
||||
let { text, createBlock, list, multi, html, toggler, comment } = bdom;
|
||||
let { isBoundary, zero } = helpers;
|
||||
// Template name: \\"main\\"
|
||||
const callTemplate_1 = app.getTemplate(\`sub\`);
|
||||
|
||||
let block1 = createBlock(\`<div><block-child-0/></div>\`);
|
||||
let block2 = createBlock(\`<span>coucou</span>\`);
|
||||
|
||||
return function template(ctx, node, key = \\"\\") {
|
||||
return function main(ctx, node, key = \\"\\") {
|
||||
ctx = Object.create(ctx);
|
||||
ctx[isBoundary] = 1;
|
||||
const b2 = block2();
|
||||
@@ -53,10 +54,11 @@ exports[`t-out multiple calls to t-out 2`] = `
|
||||
) {
|
||||
let { text, createBlock, list, multi, html, toggler, comment } = bdom;
|
||||
let { zero } = helpers;
|
||||
// Template name: \\"sub\\"
|
||||
|
||||
let block1 = createBlock(\`<div><block-child-0/><div>Greeter</div><block-child-1/></div>\`);
|
||||
|
||||
return function template(ctx, node, key = \\"\\") {
|
||||
return function sub(ctx, node, key = \\"\\") {
|
||||
const b2 = ctx[zero];
|
||||
const b3 = ctx[zero];
|
||||
return block1([], [b2, b3]);
|
||||
@@ -99,12 +101,13 @@ exports[`t-out t-out 0 1`] = `
|
||||
) {
|
||||
let { text, createBlock, list, multi, html, toggler, comment } = bdom;
|
||||
let { isBoundary, zero } = helpers;
|
||||
// Template name: \\"caller\\"
|
||||
const callTemplate_1 = app.getTemplate(\`_basic-callee\`);
|
||||
|
||||
let block1 = createBlock(\`<div><block-child-0/></div>\`);
|
||||
let block2 = createBlock(\`<div>zero</div>\`);
|
||||
|
||||
return function template(ctx, node, key = \\"\\") {
|
||||
return function caller(ctx, node, key = \\"\\") {
|
||||
ctx = Object.create(ctx);
|
||||
ctx[isBoundary] = 1;
|
||||
const b2 = block2();
|
||||
@@ -120,10 +123,11 @@ exports[`t-out t-out 0 2`] = `
|
||||
) {
|
||||
let { text, createBlock, list, multi, html, toggler, comment } = bdom;
|
||||
let { zero } = helpers;
|
||||
// Template name: \\"_basic-callee\\"
|
||||
|
||||
let block1 = createBlock(\`<div><block-child-0/></div>\`);
|
||||
|
||||
return function template(ctx, node, key = \\"\\") {
|
||||
return function _basic_callee(ctx, node, key = \\"\\") {
|
||||
const b2 = ctx[zero];
|
||||
return block1([], [b2]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user