module refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-10-14 02:31:45 +02:00
parent fcdbe9cb2c
commit 314e66812b
3 changed files with 15 additions and 15 deletions
+6 -6
View File
@@ -25,10 +25,10 @@ local AUCTION_PCT_COLORS = {
}
local TIME_LEFT_STRINGS = {
color.red '30m', -- Short
color.orange '2h', -- Medium
color.yellow '8h', -- Long
color.blue '24h', -- Very Long
color.red'30m', -- Short
color.orange'2h', -- Medium
color.yellow'8h', -- Long
color.blue'24h', -- Very Long
}
function item_column_init(rt, cell)
@@ -516,9 +516,9 @@ public.bids_config = {
fill = function(cell, record)
local status
if record.high_bidder then
status = color.yellow('High Bidder')
status = color.yellow'High Bidder'
else
status = color.red 'Outbid'
status = color.red'Outbid'
end
cell:SetText(status)
end,