@rbxts/app-forge 0.6.0-alpha.76 → 0.6.0-alpha.78
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
CHANGED
|
@@ -77,7 +77,7 @@ do
|
|
|
77
77
|
effect(function()
|
|
78
78
|
value()
|
|
79
79
|
untrack(function()
|
|
80
|
-
return self:
|
|
80
|
+
return self:checkRules(name)
|
|
81
81
|
end)
|
|
82
82
|
end)
|
|
83
83
|
else
|
|
@@ -98,9 +98,6 @@ do
|
|
|
98
98
|
if rules == nil then
|
|
99
99
|
rules = true
|
|
100
100
|
end
|
|
101
|
-
if rules then
|
|
102
|
-
self:applyRules(name)
|
|
103
|
-
end
|
|
104
101
|
local _sources = self.sources
|
|
105
102
|
local _name = name
|
|
106
103
|
local src = _sources[_name]
|
|
@@ -114,6 +111,9 @@ do
|
|
|
114
111
|
return nil
|
|
115
112
|
end
|
|
116
113
|
src(value)
|
|
114
|
+
if rules then
|
|
115
|
+
self:checkRules(name)
|
|
116
|
+
end
|
|
117
117
|
end
|
|
118
118
|
function AppForge:open(name, rules)
|
|
119
119
|
if rules == nil then
|
|
@@ -142,10 +142,10 @@ do
|
|
|
142
142
|
end
|
|
143
143
|
function AppForge:mount(callback, props, target)
|
|
144
144
|
local Container = callback()
|
|
145
|
-
apply(Container)({
|
|
146
|
-
[0] = self:renderMount(props),
|
|
147
|
-
})
|
|
148
145
|
self.innerMount = mount(function()
|
|
146
|
+
apply(Container)({
|
|
147
|
+
[0] = self:renderMount(props),
|
|
148
|
+
})
|
|
149
149
|
return Container
|
|
150
150
|
end, target)
|
|
151
151
|
return self.innerMount
|