Mercurial > wow > devian
diff Config.lua @ 66:516ceb31703d
New profile system that stores channel and tag settings for each saved AddOn list.
A boatload of structural revisions, making better use of the built-in table, and hopefully making console command issues easier to pick up.
author | Nenue |
---|---|
date | Sat, 05 Mar 2016 13:35:51 -0500 |
parents | c3166f700438 |
children |
line wrap: on
line diff
--- a/Config.lua Fri Mar 04 08:01:16 2016 -0500 +++ b/Config.lua Sat Mar 05 13:35:51 2016 -0500 @@ -3,15 +3,12 @@ -- @project-revision@ @project-hash@ -- @file-revision@ @file-hash@ -- Created: 12/30/2015 1:35 AM - -if not LibStub then - print('Something has happened...') -end -local D = LibStub("AceAddon-3.0"):GetAddon("Devian") +local _, D = ... DevCon = D:NewModule("Config") local Cf, tinsert, ipairs, tostring = DevCon, table.insert, ipairs, tostring local PLAYER_REALM = UnitName("player") .. '-' .. GetRealmName() local db +local print = D.print local SetOpt = function(info, value)