Fix mistakes in docs

This commit is contained in:
aaron 2024-11-12 15:08:12 +00:00
parent baf308ccf3
commit bacb4fa0f0
8 changed files with 12 additions and 18 deletions

View file

@ -26,9 +26,9 @@ local source = vide.source
local effect = vide.effect
local cleanup = vide.cleanup
local function changed(prop: string, callback: (new) -> ())
local function changed(property: string, callback: (new) -> ())
return action(function(instance)
local connection = instance:GetPropertyChangedSignal(prop):Connect(function()
local connection = instance:GetPropertyChangedSignal(property):Connect(function()
callback(instance[property])
end)