@rbxts/app-forge 0.7.2-prototype.34 → 0.7.2-prototype.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/renders.luau +6 -5
- package/package.json +1 -1
package/out/renders.luau
CHANGED
|
@@ -44,7 +44,6 @@ do
|
|
|
44
44
|
if not render then
|
|
45
45
|
return nil
|
|
46
46
|
end
|
|
47
|
-
-- only ROOT apps are returned
|
|
48
47
|
local _result = render.entry.rules
|
|
49
48
|
if _result ~= nil then
|
|
50
49
|
_result = _result.parent
|
|
@@ -252,9 +251,6 @@ do
|
|
|
252
251
|
return render
|
|
253
252
|
end
|
|
254
253
|
function Renders:initalize(props, target, root)
|
|
255
|
-
local _attributes = table.clone(props)
|
|
256
|
-
setmetatable(_attributes, nil)
|
|
257
|
-
local renders = Vide.jsx(self.Load, _attributes)
|
|
258
254
|
if target then
|
|
259
255
|
mount(function()
|
|
260
256
|
if not self.__px then
|
|
@@ -273,6 +269,9 @@ do
|
|
|
273
269
|
usePx(_result, _result_1, _result_2)
|
|
274
270
|
self.__px = true
|
|
275
271
|
end
|
|
272
|
+
local _attributes = table.clone(props)
|
|
273
|
+
setmetatable(_attributes, nil)
|
|
274
|
+
local renders = Vide.jsx(self.Load, _attributes)
|
|
276
275
|
if root then
|
|
277
276
|
root.Name = "App Tree"
|
|
278
277
|
apply(root)({
|
|
@@ -303,7 +302,9 @@ do
|
|
|
303
302
|
usePx(_result, _result_1, _result_2)
|
|
304
303
|
self.__px = true
|
|
305
304
|
end
|
|
306
|
-
|
|
305
|
+
local _attributes = table.clone(props)
|
|
306
|
+
setmetatable(_attributes, nil)
|
|
307
|
+
return Vide.jsx(self.Load, _attributes)
|
|
307
308
|
end
|
|
308
309
|
end
|
|
309
310
|
end
|