refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-09-30 18:32:19 +02:00
parent 4414ccf084
commit f29cb9ae1d
36 changed files with 531 additions and 298 deletions
+14 -4
View File
@@ -1,9 +1,19 @@
aux 'auctions_tab' local scan = aux.scan
aux_auctions_tab = module
include (green_t)
include (aux)
include (aux_util)
include (aux_control)
include (aux_util_color)
TAB 'Auctions'
local scan = aux_scan
private.auction_records = t
function LOAD()
create_frames()
aux_auctions_tab_frame.create()
end
function OPEN()
@@ -51,7 +61,7 @@ end
function private.test(record)
return function(index)
local auction_info = aux.info.auction(index, 'owner')
local auction_info = aux_info.auction(index, 'owner')
return auction_info and auction_info.search_signature == record.search_signature
end
end
@@ -67,7 +77,7 @@ do
scan.abort(scan_id)
state = SEARCHING
scan_id = aux.scan_util.find(
scan_id = aux_scan_util.find(
record,
status_bar,
function() state = IDLE end,