Mercurial > wow > breuesk
diff Core.lua @ 44:8913e7d79cad
Refactoring some very simple items to a Utility file
author | John@Yosemite-PC |
---|---|
date | Thu, 15 Mar 2012 22:58:54 -0400 |
parents | 4109683c3172 |
children | f52d472f0b0a |
line wrap: on
line diff
--- a/Core.lua Thu Mar 15 22:27:51 2012 -0400 +++ b/Core.lua Thu Mar 15 22:58:54 2012 -0400 @@ -38,19 +38,6 @@ -- 4) table.remove() works ok if reverse iterating, terrible at anything else -- 5) pairs() does not have a guaranteed iteration order --- These two functions properly format the call to AceConsole:Print(), which --- needs a full object. Calling "Print" will call the mixed-in console functions --- but without a self parameter because of the namespacing. I would disembed --- console, except that it has handy OnDisable behavior to disable chat --- commands. -function print(...) - bsk:Print(...) -end - -function printf(...) - bsk:Printf(...) -end - function OnInitialize() db = _G.LibStub("AceDB-3.0"):New("BskDB", defaults, "Default")