mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
precommit
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from textwrap import dedent
|
||||
|
||||
from pyscript import document, when, window
|
||||
from pyweb import JSProperty, js_property, pydom
|
||||
|
||||
from pyscript import document, when, window
|
||||
|
||||
|
||||
class ElementBase(pydom.Element):
|
||||
tag = "div"
|
||||
@@ -128,10 +129,17 @@ class style(TextElementBase):
|
||||
style=None,
|
||||
**kwargs
|
||||
):
|
||||
super().__init__(content=content, blocking=blocking, title=title,
|
||||
nonce=nonce, media=media, style=style, **kwargs
|
||||
super().__init__(
|
||||
content=content,
|
||||
blocking=blocking,
|
||||
title=title,
|
||||
nonce=nonce,
|
||||
media=media,
|
||||
style=style,
|
||||
**kwargs
|
||||
)
|
||||
|
||||
|
||||
class script(TextElementBase):
|
||||
tag = "script"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user