mirror of
https://github.com/airstruck/luigi.git
synced 2025-11-18 12:25:06 +00:00
minor
This commit is contained in:
@@ -113,6 +113,12 @@ Widget.typeDecorators = {
|
||||
text = require(ROOT .. 'widget.text'),
|
||||
}
|
||||
|
||||
--[[--
|
||||
Static Functions
|
||||
|
||||
@section static
|
||||
--]]--
|
||||
|
||||
--[[--
|
||||
Register a custom widget type.
|
||||
|
||||
@@ -128,6 +134,10 @@ function Widget.register (name, decorator)
|
||||
Widget.typeDecorators[name] = decorator
|
||||
end
|
||||
|
||||
--[[--
|
||||
@section end
|
||||
--]]--
|
||||
|
||||
-- look for properties in attributes, Widget, style, and theme
|
||||
local function metaIndex (self, property)
|
||||
-- look in widget's own attributes
|
||||
|
||||
Reference in New Issue
Block a user