Thread: Global vars ?
View Single Post
11-02-14, 01:33 AM   #9
AlleyKat
A Warpwood Thunder Caller
 
AlleyKat's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 93
Originally Posted by Voyager View Post
What's the point of the red parts?
Code:
local title, M = ...;

M:SetScript("OnEvent", function(self, ...)
-- ...
-- where self ~= M, but self[key] == M[key]
end);
my build-in table now acting like frame
and frame with addon's name tag now acting like build-in table, that acting like frame
and now my build-in table has frame methods

Last edited by AlleyKat : 11-02-14 at 01:46 AM.
  Reply With Quote