mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] simplify template definition
This commit is contained in:
committed by
Sam Degueldre
parent
98b58b505b
commit
2b4d8874c7
+1
-1
@@ -92,7 +92,7 @@ export function renderToBdom(template: string, context: any = {}, node?: any): B
|
||||
snapshottedTemplates.add(template);
|
||||
expect(fn.toString()).toMatchSnapshot();
|
||||
}
|
||||
return fn(blockDom, helpers)(context, node);
|
||||
return fn(null as any, blockDom, helpers)(context, node);
|
||||
}
|
||||
|
||||
export function renderToString(template: string, context: any = {}, node?: any): string {
|
||||
|
||||
Reference in New Issue
Block a user