Mercurial > wow > dependencyloader
diff DependencyLoader_Core/start.lua @ 0:9852fcd5e59e
initial import
author | mckenziemc |
---|---|
date | Tue, 30 Nov 2010 16:13:04 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DependencyLoader_Core/start.lua Tue Nov 30 16:13:04 2010 -0800 @@ -0,0 +1,21 @@ +-- start.lua +-- Initializes components of DependencyLoader + + +local addonName, addonTable = ... + + +print( string.format([[running %s\start.lua]], addonName) ) + +-- NOTE: We don't have to check if this module's dependencies +-- are available: it lists them normally in its .toc file and +-- the bootstrap module will take care of enabling them first. + +-- prepare output functions +local lp = LibStub("LibPrint-1.0") +local printStream = lp:NewStream("DependencyLoader", "DepLoader", "DepLdr", print) +local debugStream = lp:NewStream("DependencyLoader", "DepLoader", "DepLdr", "mcm") + +addonTable.print = function(...) printStream:Print(...) end +addonTable.debug = function(...) debugStream:Print(...) end +