Mercurial > wow > turok
comparison Turok/Modules/Timer/Timer.Init.lua @ 9:9400a0ff8540
Ugh
Timer:
- container update directionality
- talent update iterates over a non-volatile table to carry out updates
- index management steps organized
- talentRow status implemented, returns the spell associated with the talent chosen from that row
CombatLog:
- sort out font controls and unbork arguments
| author | Nenue |
|---|---|
| date | Sun, 21 Feb 2016 13:08:30 -0500 |
| parents | a9b8b0866ece |
| children |
comparison
equal
deleted
inserted
replaced
| 8:7790dff0fe13 | 9:9400a0ff8540 |
|---|---|
| 7 local _, Tk = ... | 7 local _, Tk = ... |
| 8 local T = Tk.Addon | 8 local T = Tk.Addon |
| 9 local mod = T:NewModule("TimerControl", "AceTimer-3.0") | 9 local mod = T:NewModule("TimerControl", "AceTimer-3.0") |
| 10 local pairs, ipairs, rawset, getmetatable, setmetatable, type, tostring, tinsert = pairs, ipairs, rawset, getmetatable, setmetatable, type, tostring, tinsert | 10 local pairs, ipairs, rawset, getmetatable, setmetatable, type, tostring, tinsert = pairs, ipairs, rawset, getmetatable, setmetatable, type, tostring, tinsert |
| 11 local cWord, cNum, cText, cKey = cWord, cNum, cText, cKey | 11 local cWord, cNum, cText, cKey = cWord, cNum, cText, cKey |
| 12 local print = function(...) print('Timer', ...) end | 12 local print = function(...) |
| 13 if not DEBUG then return end | |
| 14 if _G.Devian and _G.DevianDB.workspace ~= 1 then | |
| 15 _G.print('Timer', ...) | |
| 16 end | |
| 17 end | |
| 13 local index_mt = { | 18 local index_mt = { |
| 14 __newindex = function(t,k,v) | 19 __newindex = function(t,k,v) |
| 15 rawset(t,k,v) | 20 rawset(t,k,v) |
| 16 if type(v) == 'table' then | 21 if type(v) == 'table' then |
| 17 print('new table', cKey(k)) | 22 print('new table', cKey(k)) |
