Skip to content

Commit 7c34995

Browse files
committed
refactor!: rename stealevents to eatevents
1 parent 2f9b137 commit 7c34995

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Components/baseButton.luau

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ return function(baseScope: types.Scope, props: props)
6666
local MouseLeave = Util.EatValue(props, "MouseLeave") :: (() -> ())?
6767
local MouseButton1Down = Util.EatValue(props, "MouseButton1Down") :: (() -> ())?
6868
local MouseButton1Up = Util.EatValue(props, "MouseButton1Up") :: (() -> ())?
69-
local events = Util.StealEvents(props)
69+
local events = Util.EatEvents(props)
7070
local AnimatePosition = Util.EatValue(props, "AnimatePosition") :: boolean?
7171
local AnimateSize = Util.EatValue(props, "AnimateSize") :: boolean?
7272

src/Components/dropdown/init.luau

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ return function<I, V>(baseScope: types.Scope, props: props<I, V>)
6767
local MouseLeave = Util.EatValue(props, "MouseLeave") :: (() -> ())?
6868
local MouseButton1Down = Util.EatValue(props, "MouseButton1Down") :: (() -> ())?
6969
local MouseButton1Up = Util.EatValue(props, "MouseButton1Up") :: (() -> ())?
70-
local events = Util.StealEvents(props)
70+
local events = Util.EatEvents(props)
7171

7272
local isOpen = scope:Value(false)
7373
local buttonSize = scope:Value(nil)

src/Util/init.luau

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
local CombineProperties = require(script.CombineProperties)
22
local EatValue = require(script.EatValue)
3-
local StealEvents = require(script.StealEvents)
3+
local EatEvents = require(script.EatEvents)
44

55
return {
66
CombineProperties = CombineProperties,
77
EatValue = EatValue,
8-
StealEvents = StealEvents,
8+
EatEvents = EatEvents,
99
}

0 commit comments

Comments
 (0)