mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] move component function to app, improve some code
This commit is contained in:
committed by
Sam Degueldre
parent
51538c2fea
commit
0e6059467f
@@ -1,10 +1,10 @@
|
||||
import { createBlock, html, list, multi, text, toggler, comment } from "./blockdom";
|
||||
import { compile, Template, TemplateFunction } from "../compiler";
|
||||
import { comment, createBlock, html, list, multi, text, toggler } from "./blockdom";
|
||||
import { getCurrent } from "./component_node";
|
||||
import { Portal, portalTemplate } from "./portal";
|
||||
import { component, getCurrent } from "./component_node";
|
||||
import { helpers } from "./template_helpers";
|
||||
|
||||
const bdom = { text, createBlock, list, multi, html, toggler, component, comment };
|
||||
const bdom = { text, createBlock, list, multi, html, toggler, comment };
|
||||
|
||||
function parseXML(xml: string): Document {
|
||||
const parser = new DOMParser();
|
||||
|
||||
Reference in New Issue
Block a user