mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -04:00
Improve internal style
This commit is contained in:
parent
6aeb91d984
commit
f6669b2e63
7 changed files with 89 additions and 55 deletions
|
@ -1,7 +1,9 @@
|
|||
--- Component
|
||||
|
||||
local Component = {}
|
||||
Component.__index = Component
|
||||
Component.__mt = {
|
||||
__index = Component,
|
||||
}
|
||||
|
||||
--- Creates a new Component.
|
||||
-- @param populate A function that populates the Bag with values
|
||||
|
@ -15,9 +17,11 @@ function Component.new(populate)
|
|||
__populate = populate,
|
||||
|
||||
__isBaseComponent = true,
|
||||
}, Component)
|
||||
}, Component.__mt)
|
||||
|
||||
baseComponent.__mt = {__index = baseComponent}
|
||||
baseComponent.__mt = {
|
||||
__index = baseComponent
|
||||
}
|
||||
|
||||
return baseComponent
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue