Mercurial > wow > ouroloot
comparison LibFarmbuyer.lua @ 53:7af58a7dce7d
Don't collapse wipes into kills across normal/heroic boundaries. Apply preferredIndex change to popup dialogs to avoid memory tainting.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Fri, 06 Apr 2012 18:23:22 +0000 |
parents | 1001dd95dbeb |
children | fcc0d0ff5832 |
comparison
equal
deleted
inserted
replaced
52:94dacaeff463 | 53:7af58a7dce7d |
---|---|
52 | 52 |
53 - new(...), del(t), copy(t), clear() | 53 - new(...), del(t), copy(t), clear() |
54 Ditto for table recycling. | 54 Ditto for table recycling. |
55 ]] | 55 ]] |
56 | 56 |
57 local MAJOR, MINOR = "LibFarmbuyer", 14 | 57 local MAJOR, MINOR = "LibFarmbuyer", 15 |
58 assert(LibStub,MAJOR.." requires LibStub") | 58 assert(LibStub,MAJOR.." requires LibStub") |
59 local lib = LibStub:NewLibrary(MAJOR, MINOR) | 59 local lib = LibStub:NewLibrary(MAJOR, MINOR) |
60 if not lib then return end | 60 if not lib then return end |
61 | 61 |
62 _G[MAJOR] = lib | 62 _G[MAJOR] = lib |
213 | 213 |
214 t.timeout = 0 | 214 t.timeout = 0 |
215 t.whileDead = true | 215 t.whileDead = true |
216 t.hideOnEscape = true | 216 t.hideOnEscape = true |
217 t.enterClicksFirstButton = true | 217 t.enterClicksFirstButton = true |
218 t.preferredIndex = 3 -- http://forums.wowace.com/showthread.php?t=19960 | |
218 | 219 |
219 return t | 220 return t |
220 end | 221 end |
221 | 222 |
222 | 223 |