Mercurial > wow > dependencyloader
view DependencyLoader/start.lua @ 11:47d15fc9208e
updated the .pkgmeta to reflect the directory changes
added LibScriptLink external
changed the main module's Dependencies to OptDeps
moved embeds.xml and Ace3.xml
author | mckenziemc |
---|---|
date | Sun, 05 Dec 2010 03:39:26 -0800 |
parents | 5362e308c3eb |
children | f825ccf94a89 |
line wrap: on
line source
-- 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