Mercurial > wow > reaction
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 174:09f7af2f53f8 | 175:df68b5a40490 |
|---|---|
| 31 local ReAction = LibStub("AceAddon-3.0"):NewAddon( "ReAction", | 31 local ReAction = LibStub("AceAddon-3.0"):NewAddon( "ReAction", |
| 32 "AceConsole-3.0", | 32 "AceConsole-3.0", |
| 33 "AceEvent-3.0" | 33 "AceEvent-3.0" |
| 34 ) | 34 ) |
| 35 | 35 |
| 36 ------ GLOBALS ------ | 36 -- export to other files in this addon (even if it's a compilation) |
| 37 _G["ReAction"] = ReAction | 37 local addonName, addonTable = ... |
| 38 local version = GetAddOnMetadata("ReAction","Version") | |
| 39 addonTable.ReAction = ReAction | |
| 38 | 40 |
| 39 ------ DEBUGGING ------ | 41 ------ DEBUGGING ------ |
| 40 ReAction.debug = true | 42 ReAction.debug = true |
| 41 local dbprint | 43 local dbprint |
| 42 if ReAction.debug then | 44 if ReAction.debug then |
