Skip to content

Commit

Permalink
SEAM-35 Fixed Seam not being able to be used immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaGobble committed Oct 8, 2024
1 parent 5b73ace commit cdb57ba
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,52 +14,54 @@ local function Init()
InitPresetComponents()
end

-- Note: I opt for WaitForChild to load stuff; this helps prevent edge case errors where children don't load in time.

--[=[
@prop New New
@within Seam
]=]

Seam.New = require(States.New)
Seam.New = require(States:WaitForChild("New"))
Seam.new = Seam.New

--[=[
@prop Children Children
@within Seam
]=]

Seam.Children = require(States.Children)
Seam.Children = require(States:WaitForChild("Children"))
Seam.children = Seam.Children

--[=[
@prop Value Value
@within Seam
]=]

Seam.Value = require(States.Value)
Seam.Value = require(States:WaitForChild("Value"))
Seam.value = Seam.Value

--[=[
@prop Computed Computed
@within Seam
]=]

Seam.Computed = require(States.Computed)
Seam.Computed = require(States:WaitForChild("Computed"))
Seam.computed = Seam.Computed

--[=[
@prop Spring Spring
@within Seam
]=]

Seam.Spring = require(States.Animation.Spring)
Seam.Spring = require(States.Animation:WaitForChild("Spring"))
Seam.spring = Seam.Spring

--[=[
@prop Tween Tween
@within Seam
]=]

Seam.Tween = require(States.Animation.Tween)
Seam.Tween = require(States.Animation:WaitForChild("Tween"))
Seam.tween = Seam.Tween

--[=[
Expand Down

0 comments on commit cdb57ba

Please sign in to comment.