mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
remove other unused code
This commit is contained in:
@@ -257,9 +257,6 @@ class StyleCollection:
|
||||
def __get__(self, obj, objtype=None):
|
||||
return obj._get_attribute("style")
|
||||
|
||||
# def __set__(self, obj, value):
|
||||
# logging.info('Updating %r to %r', 'age', value)
|
||||
# obj._age = value
|
||||
def __getitem__(self, key):
|
||||
return self._collection._get_attribute("style")[key]
|
||||
|
||||
@@ -303,10 +300,6 @@ class ElementCollection:
|
||||
def html(self, value):
|
||||
self._set_attribute("html", value)
|
||||
|
||||
# @property
|
||||
# def style(self):
|
||||
# return self._get_attribute("style")
|
||||
|
||||
@property
|
||||
def children(self):
|
||||
return self._elements
|
||||
|
||||
Reference in New Issue
Block a user