mirror of https://github.com/arendst/Tasmota.git
HASPmota `delete` instead of `delete()` (#22245)
This commit is contained in:
parent
d9f246f0f0
commit
b5b11d6227
|
@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
|
|||
- HASPmota `cpicker` and `msgbox`
|
||||
|
||||
### Breaking Changed
|
||||
- HASPmota `delete` instead of `delete()`
|
||||
|
||||
### Changed
|
||||
- ESP32 platform update from 2024.09.10 to 2024.09.30 and Framework (Arduino Core) from v3.0.5 to v3.1.0.240926 (#22203)
|
||||
|
|
|
@ -132,9 +132,9 @@ class lvh_root
|
|||
raise "type_error", "you cannot assign to 'delete'"
|
||||
end
|
||||
def get_delete()
|
||||
self.delete()
|
||||
self._delete()
|
||||
end
|
||||
def delete()
|
||||
def _delete()
|
||||
# to be overriden
|
||||
end
|
||||
|
||||
|
@ -658,10 +658,10 @@ class lvh_obj : lvh_root
|
|||
end
|
||||
|
||||
#====================================================================
|
||||
# `delete` special attribute used to delete the object
|
||||
# `_delete` special attribute used to delete the object
|
||||
#====================================================================
|
||||
# the actual delete method, overriden
|
||||
def delete()
|
||||
# the actual _delete method, overriden
|
||||
def _delete()
|
||||
# remove any rule
|
||||
self.remove_val_rule()
|
||||
self.remove_text_rule()
|
||||
|
@ -1858,10 +1858,10 @@ class lvh_scale_section : lvh_root
|
|||
end
|
||||
|
||||
#====================================================================
|
||||
# `delete` special attribute used to delete the object
|
||||
# `_delete` special attribute used to delete the object
|
||||
#====================================================================
|
||||
# the actual delete method, overriden
|
||||
def delete()
|
||||
# the actual _delete method, overriden
|
||||
def _delete()
|
||||
self._style.del()
|
||||
self._style = nil
|
||||
self._style10.del()
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue