Mercurial > wow > hansgar_and_franzok_assist
comparison Libs/AceComm-3.0/AceComm-3.0.lua @ 51:dbf04157d63e v7.3.0.051
- ToC Update.
| author | Tercio |
|---|---|
| date | Sat, 02 Sep 2017 12:42:52 -0300 |
| parents | 1c3534391efb |
| children | 0682d738499b |
comparison
equal
deleted
inserted
replaced
| 50:e33a1e89084c | 51:dbf04157d63e |
|---|---|
| 7 -- and can be accessed directly, without having to explicitly call AceComm itself.\\ | 7 -- and can be accessed directly, without having to explicitly call AceComm itself.\\ |
| 8 -- It is recommended to embed AceComm, otherwise you'll have to specify a custom `self` on all calls you | 8 -- It is recommended to embed AceComm, otherwise you'll have to specify a custom `self` on all calls you |
| 9 -- make into AceComm. | 9 -- make into AceComm. |
| 10 -- @class file | 10 -- @class file |
| 11 -- @name AceComm-3.0 | 11 -- @name AceComm-3.0 |
| 12 -- @release $Id: AceComm-3.0.lua 1107 2014-02-19 16:40:32Z nevcairiel $ | 12 -- @release $Id: AceComm-3.0.lua 1161 2017-08-12 14:30:16Z funkydude $ |
| 13 | 13 |
| 14 --[[ AceComm-3.0 | 14 --[[ AceComm-3.0 |
| 15 | 15 |
| 16 TODO: Time out old data rotting around from dead senders? Not a HUGE deal since the number of possible sender names is somewhat limited. | 16 TODO: Time out old data rotting around from dead senders? Not a HUGE deal since the number of possible sender names is somewhat limited. |
| 17 | 17 |
| 18 ]] | 18 ]] |
| 19 | 19 |
| 20 local MAJOR, MINOR = "AceComm-3.0", 9 | 20 local CallbackHandler = LibStub("CallbackHandler-1.0") |
| 21 | 21 local CTL = assert(ChatThrottleLib, "AceComm-3.0 requires ChatThrottleLib") |
| 22 | |
| 23 local MAJOR, MINOR = "AceComm-3.0", 10 | |
| 22 local AceComm,oldminor = LibStub:NewLibrary(MAJOR, MINOR) | 24 local AceComm,oldminor = LibStub:NewLibrary(MAJOR, MINOR) |
| 23 | 25 |
| 24 if not AceComm then return end | 26 if not AceComm then return end |
| 25 | |
| 26 local CallbackHandler = LibStub:GetLibrary("CallbackHandler-1.0") | |
| 27 local CTL = assert(ChatThrottleLib, "AceComm-3.0 requires ChatThrottleLib") | |
| 28 | 27 |
| 29 -- Lua APIs | 28 -- Lua APIs |
| 30 local type, next, pairs, tostring = type, next, pairs, tostring | 29 local type, next, pairs, tostring = type, next, pairs, tostring |
| 31 local strsub, strfind = string.sub, string.find | 30 local strsub, strfind = string.sub, string.find |
| 32 local match = string.match | 31 local match = string.match |
