Mercurial > wow > dependencyloader
diff DependencyLoader_Bootstrap/bootstrap.lua @ 18:e7995d599184 tip
updated pkgmeta
fix the inversion in addon:Enable
added support for late-loading
author | mckenziemc |
---|---|
date | Tue, 21 Dec 2010 00:23:57 -0800 |
parents | b230b94d4487 |
children |
line wrap: on
line diff
--- a/DependencyLoader_Bootstrap/bootstrap.lua Sat Dec 11 03:32:04 2010 -0800 +++ b/DependencyLoader_Bootstrap/bootstrap.lua Tue Dec 21 00:23:57 2010 -0800 @@ -9,9 +9,6 @@ -- FIXME: don't force-load if we're already logged in - -print("loading DependencyLoader_Bootstrap") - -- TODO: move and use dependency parsing function here? local dependencies = {"LibStub", "Ace3", "LibBuilder-1.0", "LibPrint-1.0", "LibScriptLink-1.0"} @@ -32,13 +29,14 @@ end -print("bootstrap: Loading DependencyLoader") +--print("bootstrap: Loading DependencyLoader") for _, addon in pairs(dependencies) do EnableAddOn(addon) LoadAddOn(addon) end + EnableAddOn("DependencyLoader") LoadAddOn("DependencyLoader")