Hey All,
I've read the little document on LibStub
here, but it doesn't clarify to me at all what it is or what it does.
What exactly is a "versioning library" in terms of add-ons? What is a library in general in terms of add-ons?
I see this in add-ons all the time:
Code:
local LAM = LibStub("LibAddonMenu-1.0")
However I don't see a "LibStub" function defined in either LubStub.lua or LibAddonMenu-1.0.lua. What is that doing?
What are majors and minors?
What does LibAddonMenu-1.0.lua do? It looks like a bunch of functions for creating windows?
Lastly, what is a stub?
Sorry for all these questions. Can't seem to find any documentation anywhere other than what I linked, which only helps if you already know what it's doing (from WoW or something).