mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 07:31:47 +00:00
move window from nav to html
This commit is contained in:
@@ -4,7 +4,6 @@ const Console = @import("jsruntime").Console;
|
|||||||
|
|
||||||
const DOM = @import("dom/dom.zig");
|
const DOM = @import("dom/dom.zig");
|
||||||
const HTML = @import("html/html.zig");
|
const HTML = @import("html/html.zig");
|
||||||
const nav = @import("nav/nav.zig");
|
|
||||||
|
|
||||||
pub const HTMLDocument = @import("html/document.zig").HTMLDocument;
|
pub const HTMLDocument = @import("html/document.zig").HTMLDocument;
|
||||||
|
|
||||||
@@ -13,5 +12,4 @@ pub const Interfaces = generate.Tuple(.{
|
|||||||
Console,
|
Console,
|
||||||
DOM.Interfaces,
|
DOM.Interfaces,
|
||||||
HTML.Interfaces,
|
HTML.Interfaces,
|
||||||
nav.Interfaces,
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const TPL = jsruntime.TPL;
|
|||||||
const apiweb = @import("../apiweb.zig");
|
const apiweb = @import("../apiweb.zig");
|
||||||
const apis = jsruntime.compile(apiweb.Interfaces);
|
const apis = jsruntime.compile(apiweb.Interfaces);
|
||||||
|
|
||||||
const Window = @import("../nav/window.zig").Window;
|
const Window = @import("../html/window.zig").Window;
|
||||||
const Walker = @import("../dom/html_collection.zig").WalkerDepthFirst;
|
const Walker = @import("../dom/html_collection.zig").WalkerDepthFirst;
|
||||||
|
|
||||||
const FetchResult = std.http.Client.FetchResult;
|
const FetchResult = std.http.Client.FetchResult;
|
||||||
|
|||||||
@@ -2,10 +2,12 @@ const generate = @import("../generate.zig");
|
|||||||
|
|
||||||
const HTMLDocument = @import("document.zig").HTMLDocument;
|
const HTMLDocument = @import("document.zig").HTMLDocument;
|
||||||
const HTMLElem = @import("elements.zig");
|
const HTMLElem = @import("elements.zig");
|
||||||
|
const Window = @import("window.zig").Window;
|
||||||
|
|
||||||
pub const Interfaces = generate.Tuple(.{
|
pub const Interfaces = generate.Tuple(.{
|
||||||
HTMLDocument,
|
HTMLDocument,
|
||||||
HTMLElem.HTMLElement,
|
HTMLElem.HTMLElement,
|
||||||
HTMLElem.HTMLMediaElement,
|
HTMLElem.HTMLMediaElement,
|
||||||
HTMLElem.Interfaces,
|
HTMLElem.Interfaces,
|
||||||
|
Window,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ const FileLoader = @import("wpt/fileloader.zig").FileLoader;
|
|||||||
const wpt = @import("wpt/run.zig");
|
const wpt = @import("wpt/run.zig");
|
||||||
|
|
||||||
const apiweb = @import("apiweb.zig");
|
const apiweb = @import("apiweb.zig");
|
||||||
const nav = @import("nav/nav.zig");
|
|
||||||
const HTMLElem = @import("html/elements.zig");
|
const HTMLElem = @import("html/elements.zig");
|
||||||
|
|
||||||
const wpt_dir = "tests/wpt";
|
const wpt_dir = "tests/wpt";
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
const generate = @import("../generate.zig");
|
|
||||||
|
|
||||||
const Window = @import("window.zig").Window;
|
|
||||||
|
|
||||||
pub const Interfaces = generate.Tuple(.{
|
|
||||||
Window,
|
|
||||||
});
|
|
||||||
Reference in New Issue
Block a user