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,6 +1,6 @@
|
||||
import { App, Component, mount, status, toRaw, useState, xml } from "../../src";
|
||||
import { elem, makeTestFixture, nextTick, snapshotEverything, useLogLifecycle } from "../helpers";
|
||||
import { markup } from "../../src/utils";
|
||||
import { markup } from "../../src/runtime/utils";
|
||||
|
||||
let fixture: HTMLElement;
|
||||
|
||||
|
||||
@@ -11,9 +11,9 @@ import {
|
||||
useState,
|
||||
xml,
|
||||
} from "../../src";
|
||||
import { Fiber } from "../../src/component/fibers";
|
||||
import { Scheduler } from "../../src/component/scheduler";
|
||||
import { status } from "../../src/component/status";
|
||||
import { Fiber } from "../../src/runtime/fibers";
|
||||
import { Scheduler } from "../../src/runtime/scheduler";
|
||||
import { status } from "../../src/runtime/status";
|
||||
import {
|
||||
makeDeferred,
|
||||
makeTestFixture,
|
||||
|
||||
@@ -7,8 +7,8 @@ import {
|
||||
onWillRender,
|
||||
onWillDestroy,
|
||||
onRendered,
|
||||
} from "../../src/component/lifecycle_hooks";
|
||||
import { status } from "../../src/component/status";
|
||||
} from "../../src/runtime/lifecycle_hooks";
|
||||
import { status } from "../../src/runtime/status";
|
||||
import {
|
||||
elem,
|
||||
logStep,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { makeTestFixture, nextTick, snapshotEverything } from "../helpers";
|
||||
import { Component, onError, xml, mount } from "../../src";
|
||||
import { DEV_MSG } from "../../src/app/app";
|
||||
import { validateProps } from "../../src/app/template_helpers";
|
||||
import { Schema } from "../../src/validation";
|
||||
import { DEV_MSG } from "../../src/runtime/app";
|
||||
import { validateProps } from "../../src/runtime/template_helpers";
|
||||
import { Schema } from "../../src/runtime/validation";
|
||||
|
||||
let fixture: HTMLElement;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { text } from "../../src/blockdom";
|
||||
import { text } from "../../src/runtime/blockdom";
|
||||
import { Component, mount, xml } from "../../src/index";
|
||||
import { makeTestFixture, snapshotEverything } from "../helpers";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component } from "../../src/component/component";
|
||||
import { Component } from "../../src/runtime/component";
|
||||
import { mount, useState, xml } from "../../src/index";
|
||||
import { editInput, makeTestFixture, nextTick, snapshotEverything } from "../helpers";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Component, mount, onMounted, useState, xml } from "../../src/index";
|
||||
import { elem, makeTestFixture, nextTick, snapshotEverything } from "../helpers";
|
||||
import { status } from "../../src/component/status";
|
||||
import { status } from "../../src/runtime/status";
|
||||
|
||||
snapshotEverything();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user