greent refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-11-07 12:09:40 +01:00
parent 38d3c6c607
commit 3ef4597018
31 changed files with 267 additions and 252 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
module 'aux.tabs.auctions'
include 'green_t'
include 'green_T'
include 'aux'
local info = require 'aux.util.info'
@@ -9,7 +9,7 @@ local scan = require 'aux.core.scan'
TAB 'Auctions'
auction_records = t
auction_records = T
function OPEN()
frame:Show()
@@ -34,7 +34,7 @@ function M.scan_auctions()
update_listing()
scan.start{
type = 'owner',
queries = {{blizzard_query = t}},
queries = {{blizzard_query = T}},
on_page_loaded = function(page, total_pages)
status_bar:update_status((page - 1) / total_pages, 0)
status_bar:set_text(format('Scanning (Page %d / %d)', page, total_pages))
@@ -56,7 +56,7 @@ end
do
local scan_id = 0
local IDLE, SEARCHING, FOUND = t, t, t
local IDLE, SEARCHING, FOUND = T, T, T
local state = IDLE
local found_index