View Single Post
Unread 09-21-12, 09:48 PM   #39
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,247
Addons embedding LibResInfo also need to embed LibStub and CallbackHandler. That's how every embeddable library works. An addon that uses AceAddon, AceDB, AceOptions, AceEvent, AceGUI, AceConfig, and AceTimer doesn't include 7 copies of LibStub (one inside each embedded lib); it just includes one (one alongside the other libs). Embeddable libraries should never be including their own dependencies, or you'll end up with an enormous number of duplicate files in a single addon. Authors using libraries simply need to pay attention and make sure they include everything their addon and the libraries it uses need.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote