lexonomy_custom_editor/src/browser/internal.py
2019-11-05 22:18:20 +01:00

16 lines
203 B
Python

# type: ignore
class Document:
def __getattr__(self, attr):
return lambda x: document[attr](x)
class Window:
def __getattr__(self, attr):
return lambda x: window[attr](x)