Quantcast

Changed InitializeFrame() to addon:InitializeFrame() - it will now be called when the AddOn is enabled, then set to nil, rather than checking if it needs to be called every time addon:DisplayFrame() is called.

Author torhal <torhal@dummy.example.com>
Author date 2009-09-22 08:27:19
Author local date 2009-09-22 08:27:19 +0000
Committer torhal <torhal@dummy.example.com>
Committer date 2009-09-22 08:27:19
Committer local date 2009-09-22 08:27:19 +0000
Commit afd8b1658143a467eea2e7ea9d54ec14446edec7
Tree 80c267b7dfe5c9f8efb3ae7f126f24951fcd181b
Parent bea9ec600ab1961a40a429649063dbb870d0a81f
Changed InitializeFrame() to addon:InitializeFrame() - it will now be called when the AddOn is enabled, then set to nil, rather than checking if it needs to be called every time addon:DisplayFrame() is called.
Added MainPanel file-local variable - instead of using addon.Frame throughout the file, this is referred to now.
Re-factored implemtation of addon:DisplayTextDump() - everything required is created within the do-block, and nothing is added as a member of the AddOn object.
Renamed "seasonal" file-local variable to SEASONAL_CATEGORY for clarity.
Removed file-local addonversion variable in favor of addon.version assigned upon AddOn initialization.