diff Modules/DisplayInvested.lua @ 63:e7d287cc3b02

Replaced all instances of addon with ItemAuditor and I moved ItemAuditor out of the global namespace. The conversion was mostly a search/replace offering no new functionality. That will come in a later commit.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Tue, 27 Jul 2010 17:58:33 -0700
parents 4ec321eb0dfe
children e92a5adf75bf
line wrap: on
line diff
--- a/Modules/DisplayInvested.lua	Tue Jul 27 17:52:21 2010 -0700
+++ b/Modules/DisplayInvested.lua	Tue Jul 27 17:58:33 2010 -0700
@@ -1,5 +1,5 @@
-local addonName, addonTable = ...; 
-local ItemAuditor = _G[addonName]
+local ItemAuditor = select(2, ...)
+local DisplayInvested = ItemAuditor:NewModule("DisplayInvested")
 
 local AceGUI = LibStub("AceGUI-3.0")
 local ScrollingTable = LibStub("ScrollingTable")