@ -11,7 +11,7 @@ class Message:
class ClickMessage(Message):
def __init__(self, event):
event.stopPropagation();
event.stopPropagation()
def msg(message_class, params):
@ -1,5 +1,6 @@
class Editable:
def make_copy(self):
# makes an internal copy of self
# delete old copy
if hasattr(self, "_copy"):
if self._copy is not None:
@ -9,6 +10,7 @@ class Editable:
self._copy = JSON.parse(JSON.stringify(self))
def copy(self):
# return internal copy of self
# check if even initialized
return self._copy