mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Fix mistakes in docs
This commit is contained in:
parent
baf308ccf3
commit
bacb4fa0f0
8 changed files with 12 additions and 18 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue