ActionbarPlus

ActionbarPlus

78.7k Downloads

Story: [DEV] Migrate some (but not all) global variables to addon namespace

nfet opened this issue ยท 0 comments

commented

Dev Story

The addon namespace is a private table shared between Lua files in the same addon.
It allows for addons to access data between files without exposing or polluting variables to the global environment.

Details

local _, ns = ...
ns.foo = "Banana"