mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] reorganize file structure
in order to separate compiler/ and runtime/ code
This commit is contained in:
committed by
Sam Degueldre
parent
e4b810c027
commit
22a79cdedd
@@ -1,4 +1,4 @@
|
||||
import { mount, patch } from "../../src/blockdom";
|
||||
import { mount, patch } from "../../src/runtime/blockdom";
|
||||
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
|
||||
|
||||
snapshotEverything();
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { TemplateSet } from "../../src/app/template_set";
|
||||
import { mount } from "../../src/blockdom";
|
||||
import { TemplateSet } from "../../src/runtime/template_set";
|
||||
import { mount } from "../../src/runtime/blockdom";
|
||||
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
|
||||
import { markup } from "../../src/utils";
|
||||
import { STATUS } from "../../src/component/status";
|
||||
import { markup } from "../../src/runtime/utils";
|
||||
import { STATUS } from "../../src/runtime/status";
|
||||
|
||||
snapshotEverything();
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { renderToString, renderToBdom, snapshotEverything, makeTestFixture } from "../helpers";
|
||||
import { mount } from "../../src/blockdom";
|
||||
import { mount } from "../../src/runtime/blockdom";
|
||||
import { mount as mountComponent, Component, xml } from "../../src/index";
|
||||
|
||||
// NB: check the snapshots to see where the SVG namespaces are added
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { mount } from "../../src/blockdom";
|
||||
import { mount } from "../../src/runtime/blockdom";
|
||||
import {
|
||||
makeTestFixture,
|
||||
renderToBdom,
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
TestContext,
|
||||
makeTestFixture,
|
||||
} from "../helpers";
|
||||
import { mount, patch } from "../../src/blockdom";
|
||||
import { mount, patch } from "../../src/runtime/blockdom";
|
||||
|
||||
snapshotEverything();
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// import { mountBlock } from "../../src/blockdom/block";
|
||||
import { mount } from "../../src/blockdom";
|
||||
import { mount } from "../../src/runtime/blockdom";
|
||||
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
|
||||
|
||||
snapshotEverything();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { renderToString, renderToBdom, snapshotEverything, makeTestFixture } from "../helpers";
|
||||
import { mount, patch } from "../../src/blockdom/index";
|
||||
import { mount, patch } from "../../src/runtime/blockdom/index";
|
||||
|
||||
snapshotEverything();
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@ import {
|
||||
TestContext,
|
||||
makeTestFixture,
|
||||
} from "../helpers";
|
||||
import { mount, patch } from "../../src/blockdom";
|
||||
import { createBlock } from "../../src/blockdom/index";
|
||||
import { markup } from "../../src/utils";
|
||||
import { mount, patch } from "../../src/runtime/blockdom";
|
||||
import { createBlock } from "../../src/runtime/blockdom/index";
|
||||
import { markup } from "../../src/runtime/utils";
|
||||
|
||||
snapshotEverything();
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { TemplateSet } from "../../src/app/template_set";
|
||||
import { mount } from "../../src/blockdom";
|
||||
import { TemplateSet } from "../../src/runtime/template_set";
|
||||
import { mount } from "../../src/runtime/blockdom";
|
||||
import { renderToBdom, snapshotEverything } from "../helpers";
|
||||
|
||||
snapshotEverything();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { mount, patch } from "../../src/blockdom";
|
||||
import { mount, patch } from "../../src/runtime/blockdom";
|
||||
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
|
||||
|
||||
snapshotEverything();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { TemplateSet } from "../../src/app/template_set";
|
||||
import { TemplateSet } from "../../src/runtime/template_set";
|
||||
import { renderToString, snapshotTemplate, TestContext } from "../helpers";
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user