67 741
contributi
mNessun oggetto della modifica |
(TestArray) |
||
Riga 134: | Riga 134: | ||
end | end | ||
end | |||
--- Returns the color to use in CSS for the text depending on the luminance | |||
-- of the background | |||
-- @param BackColor The hex code of the background color | |||
-- @return name of the color | |||
function p.TestArray(frame) | |||
local TestGroups = {"A", "B", "C"} | |||
local TestValues = {"Alpha", "Beta"} | |||
local FinalArray = {} | |||
for _, Group in pairs(TestGroups) do | |||
for _, Value in pairs(TestValues) do | |||
table.insert(FinalArray[Group], Value) | |||
end | |||
end | |||
return FinalArray["A"][1] | |||
end | end | ||
return p | return p |