comparison Modules/Summary.lua @ 202:15f22a466596

Cleaning up.
author Zerotorescue
date Sat, 05 Feb 2011 17:36:08 +0100
parents 396c2960d54d
children 0ea991d9093c
comparison
equal deleted inserted replaced
201:bfab0c870d1e 202:15f22a466596
1 local addon = select(2, ...); -- Get a reference to the main addon object 1 local addon = select(2, ...); -- Get a reference to the main addon object
2 local mod = addon:NewModule("Summary", "AceEvent-3.0", "AceTimer-3.0"); -- register a new module, Summary: resposible for building the summary window 2 local mod = addon:NewModule("Summary"); -- register a new module, Summary: resposible for building the summary window
3 3
4 local _G = _G; -- prevent looking up of the global table 4 local _G = _G; -- prevent looking up of the global table
5 local sformat, sgsub, supper, mceil, mfloor, tinsert, twipe, tsort = _G.string.format, _G.string.gsub, _G.string.upper, _G.math.ceil, _G.math.floor, _G.table.insert, _G.table.wipe, _G.table.sort; 5 local sformat, sgsub, supper, mceil, mfloor, tinsert, twipe, tsort = _G.string.format, _G.string.gsub, _G.string.upper, _G.math.ceil, _G.math.floor, _G.table.insert, _G.table.wipe, _G.table.sort;
6 local pairs, type, select = _G.pairs, _G.type, _G.select; 6 local pairs, type, select = _G.pairs, _G.type, _G.select;
7 7