@rbxts/app-forge 0.6.0-alpha.31 → 0.6.0-alpha.33
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/vide/init.luau +3 -3
- package/out/vide/rules/init.luau +1 -18
- package/package.json +1 -1
package/out/vide/init.luau
CHANGED
|
@@ -48,12 +48,12 @@ do
|
|
|
48
48
|
local _sources = self.sources
|
|
49
49
|
local _name = name
|
|
50
50
|
local source = _sources[_name]
|
|
51
|
-
if source() == value then
|
|
52
|
-
return nil
|
|
53
|
-
end
|
|
54
51
|
if not source then
|
|
55
52
|
createSource(name, self)
|
|
56
53
|
end
|
|
54
|
+
if source() == value then
|
|
55
|
+
return nil
|
|
56
|
+
end
|
|
57
57
|
source(value)
|
|
58
58
|
end
|
|
59
59
|
end
|
package/out/vide/rules/init.luau
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
-- Compiled with roblox-ts v3.0.0
|
|
2
2
|
local TS = _G[script]
|
|
3
|
-
-- Packages
|
|
4
|
-
-- Components
|
|
5
|
-
local AppRegistry = TS.import(script, script.Parent, "decorator").AppRegistry
|
|
6
3
|
-- Types
|
|
7
4
|
-- Rules
|
|
8
5
|
local ParentRule = TS.import(script, script, "parent").default
|
|
@@ -22,21 +19,7 @@ do
|
|
|
22
19
|
self.forge = forge
|
|
23
20
|
end
|
|
24
21
|
function RulesManager:applyRules(name)
|
|
25
|
-
|
|
26
|
-
local appData = AppRegistry[_name]
|
|
27
|
-
local _rules = appData
|
|
28
|
-
if _rules ~= nil then
|
|
29
|
-
_rules = _rules.rules
|
|
30
|
-
end
|
|
31
|
-
local rules = _rules
|
|
32
|
-
if not rules then
|
|
33
|
-
return nil
|
|
34
|
-
end
|
|
35
|
-
local _value = rules.parent
|
|
36
|
-
if _value ~= "" and _value then
|
|
37
|
-
ParentRule(name, self.forge)
|
|
38
|
-
end
|
|
39
|
-
return nil
|
|
22
|
+
ParentRule(name, self.forge)
|
|
40
23
|
end
|
|
41
24
|
end
|
|
42
25
|
return {
|