Skip to content

Commit 6475752

Browse files
Merge pull request #515 from karlseguin/html_document_subtype
add 'node' subtype to htmldocument
2 parents 3c2b348 + 8aef6ca commit 6475752

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/html/document.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ pub const HTMLDocument = struct {
3939
pub const prototype = *Document;
4040
pub const mem_guarantied = true;
4141

42+
pub const sub_type = "node";
43+
4244
// JS funcs
4345
// --------
4446

0 commit comments

Comments
 (0)