mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] compiler: rename qweb/ into compiler/
This commit is contained in:
committed by
Samuel Degueldre
parent
4efe1ae166
commit
04334e23d7
+1
-1
@@ -2,7 +2,7 @@ import { Component } from "./component/component";
|
|||||||
import { ComponentNode } from "./component/component_node";
|
import { ComponentNode } from "./component/component_node";
|
||||||
import { MountOptions } from "./component/fibers";
|
import { MountOptions } from "./component/fibers";
|
||||||
import { Scheduler } from "./component/scheduler";
|
import { Scheduler } from "./component/scheduler";
|
||||||
import { TemplateSet } from "./qweb/template_helpers";
|
import { TemplateSet } from "./compiler/template_helpers";
|
||||||
|
|
||||||
// reimplement dev mode stuff see last change in 0f7a8289a6fb8387c3c1af41c6664b2a8448758f
|
// reimplement dev mode stuff see last change in 0f7a8289a6fb8387c3c1af41c6664b2a8448758f
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { BDom, createBlock, html, list, multi, text, toggler } from "../blockdom";
|
import { BDom, createBlock, html, list, multi, text, toggler } from "../blockdom";
|
||||||
import { compileTemplate, Template } from "./compiler";
|
import { compileTemplate, Template } from "./code_generator";
|
||||||
import { component } from "../component/component_node";
|
import { component } from "../component/component_node";
|
||||||
import { validateProps } from "../component/props_validation";
|
import { validateProps } from "../component/props_validation";
|
||||||
|
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
import { registerSheet } from "./component/style";
|
import { registerSheet } from "./component/style";
|
||||||
import { globalTemplates } from "./qweb/template_helpers";
|
import { globalTemplates } from "./compiler/template_helpers";
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// Global templates
|
// Global templates
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { TemplateSet } from "../../src/qweb/template_helpers";
|
import { TemplateSet } from "../../src/compiler/template_helpers";
|
||||||
import { mount } from "../../src/blockdom";
|
import { mount } from "../../src/blockdom";
|
||||||
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
|
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { compileExpr, tokenize } from "../../src/qweb/inline_expressions";
|
import { compileExpr, tokenize } from "../../src/compiler/inline_expressions";
|
||||||
|
|
||||||
describe("tokenizer", () => {
|
describe("tokenizer", () => {
|
||||||
test("simple tokens", () => {
|
test("simple tokens", () => {
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { ASTType, parse } from "../../src/qweb/parser";
|
import { ASTType, parse } from "../../src/compiler/parser";
|
||||||
|
|
||||||
describe("qweb parser", () => {
|
describe("qweb parser", () => {
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { TemplateSet } from "../../src/qweb/template_helpers";
|
import { TemplateSet } from "../../src/compiler/template_helpers";
|
||||||
import { mount } from "../../src/blockdom";
|
import { mount } from "../../src/blockdom";
|
||||||
import { renderToBdom, snapshotEverything } from "../helpers";
|
import { renderToBdom, snapshotEverything } from "../helpers";
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { TemplateSet } from "../../src/qweb/template_helpers";
|
import { TemplateSet } from "../../src/compiler/template_helpers";
|
||||||
import { renderToString, TestContext, compile } from "../helpers";
|
import { renderToString, TestContext, compile } from "../helpers";
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
+2
-2
@@ -14,8 +14,8 @@ import {
|
|||||||
} from "../src";
|
} from "../src";
|
||||||
import { BDom } from "../src/blockdom";
|
import { BDom } from "../src/blockdom";
|
||||||
import { blockDom } from "../src";
|
import { blockDom } from "../src";
|
||||||
import { CompileOptions, compileTemplate, Template } from "../src/qweb/compiler";
|
import { CompileOptions, compileTemplate, Template } from "../src/compiler/code_generator";
|
||||||
import { globalTemplates, TemplateSet, UTILS } from "../src/qweb/template_helpers";
|
import { globalTemplates, TemplateSet, UTILS } from "../src/compiler/template_helpers";
|
||||||
import { xml } from "../src/tags";
|
import { xml } from "../src/tags";
|
||||||
|
|
||||||
const mount = blockDom.mount;
|
const mount = blockDom.mount;
|
||||||
|
|||||||
Reference in New Issue
Block a user