mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-18 18:06:44 +00:00
formalize attributes
This commit is contained in:
@@ -17,6 +17,7 @@ function Style:getProperty (object, property, original)
|
||||
|
||||
for _, lookupName in ipairs(self.lookupNames) do
|
||||
local lookup = rawget(object, lookupName)
|
||||
or object.attributes and rawget(object.attributes, lookupName)
|
||||
if lookup then
|
||||
if type(lookup) ~= 'table' then
|
||||
lookup = { lookup }
|
||||
|
||||
Reference in New Issue
Block a user