HASPmota `delete` instead of `delete()` (#22245)

This commit is contained in:
s-hadinger 2024-10-06 21:09:19 +02:00 committed by GitHub
parent d9f246f0f0
commit b5b11d6227
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1471 additions and 1470 deletions

View File

@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
- HASPmota `cpicker` and `msgbox` - HASPmota `cpicker` and `msgbox`
### Breaking Changed ### Breaking Changed
- HASPmota `delete` instead of `delete()`
### Changed ### 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) - 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)

View File

@ -132,9 +132,9 @@ class lvh_root
raise "type_error", "you cannot assign to 'delete'" raise "type_error", "you cannot assign to 'delete'"
end end
def get_delete() def get_delete()
self.delete() self._delete()
end end
def delete() def _delete()
# to be overriden # to be overriden
end end
@ -658,10 +658,10 @@ class lvh_obj : lvh_root
end end
#==================================================================== #====================================================================
# `delete` special attribute used to delete the object # `_delete` special attribute used to delete the object
#==================================================================== #====================================================================
# the actual delete method, overriden # the actual _delete method, overriden
def delete() def _delete()
# remove any rule # remove any rule
self.remove_val_rule() self.remove_val_rule()
self.remove_text_rule() self.remove_text_rule()
@ -1858,10 +1858,10 @@ class lvh_scale_section : lvh_root
end end
#==================================================================== #====================================================================
# `delete` special attribute used to delete the object # `_delete` special attribute used to delete the object
#==================================================================== #====================================================================
# the actual delete method, overriden # the actual _delete method, overriden
def delete() def _delete()
self._style.del() self._style.del()
self._style = nil self._style = nil
self._style10.del() self._style10.del()