refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-23 12:45:23 +02:00
parent 99ba3e7fdc
commit deb85ad030
18 changed files with 169 additions and 152 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
module 'auctions_tab' import 'scan'
auction_records = nil
auction_records = {}
function LOAD()
create_frames()
@@ -25,7 +25,7 @@ function public.scan_auctions()
status_bar:update_status(0,0)
status_bar:set_text('Scanning auctions...')
auction_records = {}
wipe(auction_records)
update_listing()
scan.start{
type = 'owner',
@@ -58,7 +58,7 @@ end
do
local scan_id = 0
local IDLE, SEARCHING, FOUND = {}, {}, {}
local IDLE, SEARCHING, FOUND = t, t, t
local state = IDLE
local found_index