Skip to content

Commit

Permalink
Add weakref slot to Html tag
Browse files Browse the repository at this point in the history
  • Loading branch information
frmdstryr committed Mar 11, 2020
1 parent 1946ebc commit e5159f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.8.10

Add slot to support weakref on the Html tag

# 0.8.9

Change tag attribute to use `set_default` instead of lower of class name.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='enaml-web',
version='0.8.9',
version='0.8.10',
author='CodeLV',
author_email='frmdstryr@gmail.com',
url='https://github.com/codelv/enaml-web',
Expand Down
2 changes: 2 additions & 0 deletions web/components/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ def render(self, **kwargs):


class Html(Tag):
__slots__ = '__weakref__'

#: Set the tag name
tag = set_default('html')

Expand Down

0 comments on commit e5159f8

Please sign in to comment.