mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] add static App.registerTemplate and update Portal to use it
The goal is to get closer to the possibility of using Owl without the compiler. This commit removes Portal dependency on the compiler, and opens the way to register pre-compiled template functions.
This commit is contained in:
committed by
Sam Degueldre
parent
2b4d8874c7
commit
b10a700381
+1
-2
@@ -16,10 +16,9 @@ import {
|
||||
xml,
|
||||
} from "../src";
|
||||
import { helpers } from "../src/app/template_helpers";
|
||||
import { TemplateSet } from "../src/app/template_set";
|
||||
import { TemplateSet, globalTemplates } from "../src/app/template_set";
|
||||
import { BDom } from "../src/blockdom";
|
||||
import { compile } from "../src/compiler";
|
||||
import { globalTemplates } from "../src/utils";
|
||||
|
||||
const mount = blockDom.mount;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user