Closed jalovatt closed 5 years ago
Added Element:assignChild.
This could probably be made even tidier and avoid having to explicitly assign __index for each class. Ideally as simple as:
__index
function myClass:new(props) local instance = self:assignChild(mergeProps()) end
Added Element:assignChild.
This could probably be made even tidier and avoid having to explicitly assign
__index
for each class. Ideally as simple as: