Refactor reactive framework #85

Merged
thesabinelim merged 5 commits from reactive-refactors into master 2023-05-18 02:02:29 +08:00
Showing only changes of commit eee1060651 - Show all commits

View File

@@ -173,6 +173,9 @@ return {
Container = function(base, basalt)
local object = {
loadLayout = function(self, path, props)
if (props == nil) then
props = {}
end
local layout = basalt.layout(path)
local objects = basalt.createObjectsFromLayout(layout, props)
for _, object in ipairs(objects) do