@rbxts/app-forge 0.5.9 → 0.6.0
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/container.luau +10 -5
- package/package.json +1 -1
package/out/container.luau
CHANGED
|
@@ -10,20 +10,25 @@ local source = _vide.source
|
|
|
10
10
|
-- Types
|
|
11
11
|
-- Components
|
|
12
12
|
local AppRegistry = TS.import(script, script.Parent, "decorator").AppRegistry
|
|
13
|
-
local function createSource(name,
|
|
13
|
+
local function createSource(name, forge)
|
|
14
14
|
local _name = name
|
|
15
15
|
local app = AppRegistry[_name]
|
|
16
16
|
if not app then
|
|
17
17
|
error(`App "{name}" not registered`)
|
|
18
18
|
end
|
|
19
|
+
local _sources = forge.sources
|
|
20
|
+
local _name_1 = name
|
|
21
|
+
if _sources[_name_1] ~= nil then
|
|
22
|
+
return nil
|
|
23
|
+
end
|
|
24
|
+
local _sources_1 = forge.sources
|
|
25
|
+
local _exp = name
|
|
19
26
|
local _condition = app.visible
|
|
20
27
|
if _condition == nil then
|
|
21
28
|
_condition = false
|
|
22
29
|
end
|
|
23
|
-
local
|
|
24
|
-
|
|
25
|
-
local _name_1 = name
|
|
26
|
-
_sources[_name_1] = appSource
|
|
30
|
+
local _arg1 = source(_condition)
|
|
31
|
+
_sources_1[_exp] = _arg1
|
|
27
32
|
return source
|
|
28
33
|
end
|
|
29
34
|
local function createInstance(props)
|