Quantcast WoWInterface - View Single Post - Variables and Addon Names
View Single Post
07-09-09, 10:45 AM   #1
A Theradrim Guardian
Join Date: Jun 2009
Posts: 61
Variables and Addon Names

I have been using a mod as a base and changing what it does. I would like to learn more, but this confuses me.

local Demonomicon = Servitas:StyleButton(CreateFrame("Button", "Demonomicon", UIParent, "SecureHandlerClickTemplate"))
Servitas.Demonomicon = Demonomicon

There is an
addon Folder called Demonomicon which contains a file called Demonomicon and a file called Servitas that contains a local variable called Demonomicon.

Is this standard coding or does the original author ( 2+ years ago) fail to follow some conventions?

thanks in advance