View Single Post
04/07/14, 03:36 PM   #11
Kith
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 49
Originally Posted by Yazilliclick View Post
What was the reasoning there with WoW? Believe it's default method was XML with Lua too wasn't it? Thanks for notice on the bug, guessing that's what I'm running smack into as well.



Ah good point about global clutter thanks!
I believe it was, as you said, global clutter. XML frames needed a globally defined name to be referenced whereas with LUA you could not give the frame a name and reference it through saving its return to a local. Most WoW mods in the latter days would only have 2 globals, the mod table itself and its SavedVariables table.

With my 2-part library (due to the OnUpdate XML thing), my mod is up to 5 globals which bugs me more than it should :P
  Reply With Quote