Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-09-09, 10:45 AM   #1
Rhamses
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
SecureHandler_OnLoad(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
Rhamses
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Developer Chat » Variables and Addon Names

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off