# HG changeset patch # User Flick # Date 1289951464 28800 # Node ID ebe9eb5c17917ba5559ef3556698b1e1e1b2c5b4 # Parent c7be637a47bc25270d5cef44f85104087c6a8c9c delete big comment which is never up to date anyway diff -r c7be637a47bc -r ebe9eb5c1791 ReAction.lua --- a/ReAction.lua Tue Nov 16 15:50:31 2010 -0800 +++ b/ReAction.lua Tue Nov 16 15:51:04 2010 -0800 @@ -1,27 +1,3 @@ ---[[ - ReAction.lua - - The ReAction core manages several collections: - - modules (via AceAddon) - - bars - - bar-type constructors - - and publishes events when those collections change. It also implements a couple properties - and has a couple convenience methods which drill down to particular modules. - - Most of the "real work" of the addon happens in Bar.lua, Overlay.lua, State.lua, and the various modules. - - Events (with handler arguments): - -------------------------------- - "OnCreateBar" (bar, name) : after a bar object is created - "OnDestroyBar" (bar, name) : before a bar object is destroyed - "OnEraseBar" (bar, name) : before a bar config is removed from the profile db - "OnRenameBar" (bar, oldname, newname) : after a bar is renamed - "OnRefreshBar" (bar, name) : after a bar's state has been updated - "OnConfigModeChanged" (mode) : after the config mode is changed - - ReAction is also an AceAddon-3.0 and contains an AceDB-3.0, which in turn publish more events. -]]-- local addonName, addonTable = ... local ReAction = LibStub("AceAddon-3.0"):NewAddon( "ReAction", "AceEvent-3.0"