Mercurial > wow > reaction
diff ReAction.lua @ 175:df68b5a40490
Remove ReAction global in favor of built in addon table (drycoded)
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Wed, 20 Oct 2010 17:11:50 +0000 |
parents | 8cc187143acd |
children | 55c2fc0c8d55 |
line wrap: on
line diff
--- a/ReAction.lua Wed Oct 20 00:41:10 2010 +0000 +++ b/ReAction.lua Wed Oct 20 17:11:50 2010 +0000 @@ -33,8 +33,10 @@ "AceEvent-3.0" ) ------- GLOBALS ------ -_G["ReAction"] = ReAction + -- export to other files in this addon (even if it's a compilation) +local addonName, addonTable = ... +local version = GetAddOnMetadata("ReAction","Version") +addonTable.ReAction = ReAction ------ DEBUGGING ------ ReAction.debug = true