Skip to content

Commit 8502a5e

Browse files
committed
fix redef
1 parent 404486b commit 8502a5e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/idom/html.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@
150150
- :func:`template`
151151
"""
152152

153-
from .core.vdom import VdomDict, make_vdom_constructor
153+
from .core.proto import VdomDict
154+
from .core.vdom import make_vdom_constructor
154155

155156

156157
# Dcument metadata
@@ -247,13 +248,6 @@
247248
# Scripting
248249
canvas = make_vdom_constructor("canvas")
249250
noscript = make_vdom_constructor("noscript")
250-
script = make_vdom_constructor("script")
251-
252-
# Demarcating edits
253-
del_ = make_vdom_constructor("del")
254-
ins = make_vdom_constructor("ins")
255-
256-
# Scripting
257251

258252

259253
def script(content: str) -> VdomDict:
@@ -270,6 +264,10 @@ def script(content: str) -> VdomDict:
270264
return {"tagName": "script", "children": [content]}
271265

272266

267+
# Demarcating edits
268+
del_ = make_vdom_constructor("del")
269+
ins = make_vdom_constructor("ins")
270+
273271
# Table content
274272
caption = make_vdom_constructor("caption")
275273
col = make_vdom_constructor("col")

0 commit comments

Comments
 (0)