Mercurial > wow > dependencyloader
comparison DependencyLoader_Bootstrap/bootstrap.lua @ 12:b230b94d4487
fixed Addon.lua to use the unhooked EnableAddOn (still needs to be changed to grab from the interface)
improved the error message when creating an Addon object on a Blizzard addon (will add direct support later)
implemented the hooks on EnableAddOn and LoadAddOn
rearranged functions inside Tree.lua, with some edits
copied OptDeps from main module to the bootstrap module, to delegate loading to the client when possible
author | mckenziemc |
---|---|
date | Fri, 10 Dec 2010 00:21:17 -0800 |
parents | e0a4a8b5b389 |
children | e7995d599184 |
comparison
equal
deleted
inserted
replaced
11:47d15fc9208e | 12:b230b94d4487 |
---|---|
3 -- the user to successfully load it without | 3 -- the user to successfully load it without |
4 -- explicitly enabling its own dependencies. | 4 -- explicitly enabling its own dependencies. |
5 | 5 |
6 | 6 |
7 local addonName, addonTable = ... | 7 local addonName, addonTable = ... |
8 | |
9 | |
10 -- FIXME: don't force-load if we're already logged in | |
8 | 11 |
9 | 12 |
10 print("loading DependencyLoader_Bootstrap") | 13 print("loading DependencyLoader_Bootstrap") |
11 | 14 |
12 -- TODO: move and use dependency parsing function here? | 15 -- TODO: move and use dependency parsing function here? |