Mercurial > wow > breuesk
comparison Core.lua @ 69:b7352f007028
Working on bids/rolls in the GUI
Added debug mode to populate things with dummy data.
author | John@Yosemite-PC |
---|---|
date | Thu, 29 Mar 2012 20:17:59 -0400 |
parents | a177b863ed6c |
children | 236117ab8a49 |
comparison
equal
deleted
inserted
replaced
68:a177b863ed6c | 69:b7352f007028 |
---|---|
38 -- 4) table.remove() works ok if reverse iterating, terrible at anything else | 38 -- 4) table.remove() works ok if reverse iterating, terrible at anything else |
39 -- 5) pairs() does not have a guaranteed iteration order | 39 -- 5) pairs() does not have a guaranteed iteration order |
40 | 40 |
41 function OnInitialize() | 41 function OnInitialize() |
42 | 42 |
43 debug = true | |
44 | |
43 db = _G.LibStub("AceDB-3.0"):New("BskDB", defaults, "Default") | 45 db = _G.LibStub("AceDB-3.0"):New("BskDB", defaults, "Default") |
44 | 46 |
45 options.args.profile = _G.LibStub("AceDBOptions-3.0"):GetOptionsTable(db) | 47 options.args.profile = _G.LibStub("AceDBOptions-3.0"):GetOptionsTable(db) |
46 _G.LibStub("AceConfig-3.0"):RegisterOptionsTable("bsk", options) | 48 _G.LibStub("AceConfig-3.0"):RegisterOptionsTable("bsk", options) |
47 --optionsFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("bsk", "bsk") | 49 --optionsFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("bsk", "bsk") |