Mercurial > wow > wowdb-profiler
comparison Main.lua @ 442:2151f136ca5c
Removed LibPetJournal-2.0 as all code using that library is currently commented out (it will be easy to readd if we need it again).
| author | MMOSimca <MMOSimca@gmail.com> |
|---|---|
| date | Sun, 01 Mar 2015 00:01:03 -0500 |
| parents | 7e0ef2127b49 |
| children | cecd877476ff |
comparison
equal
deleted
inserted
replaced
| 441:7e0ef2127b49 | 442:2151f136ca5c |
|---|---|
| 23 | 23 |
| 24 local LibStub = _G.LibStub | 24 local LibStub = _G.LibStub |
| 25 local WDP = LibStub("AceAddon-3.0"):NewAddon(ADDON_NAME, "AceConsole-3.0", "AceEvent-3.0") | 25 local WDP = LibStub("AceAddon-3.0"):NewAddon(ADDON_NAME, "AceConsole-3.0", "AceEvent-3.0") |
| 26 | 26 |
| 27 local deformat = LibStub("LibDeformat-3.0") | 27 local deformat = LibStub("LibDeformat-3.0") |
| 28 local LPJ = LibStub("LibPetJournal-2.0") | |
| 29 | 28 |
| 30 local DatamineTT = _G.CreateFrame("GameTooltip", "WDPDatamineTT", _G.UIParent, "GameTooltipTemplate") | 29 local DatamineTT = _G.CreateFrame("GameTooltip", "WDPDatamineTT", _G.UIParent, "GameTooltipTemplate") |
| 31 DatamineTT:SetOwner(_G.WorldFrame, "ANCHOR_NONE") | 30 DatamineTT:SetOwner(_G.WorldFrame, "ANCHOR_NONE") |
| 32 | 31 |
| 33 | 32 |
| 2497 table.wipe(current_action) | 2496 table.wipe(current_action) |
| 2498 end | 2497 end |
| 2499 | 2498 |
| 2500 | 2499 |
| 2501 -- This function produces data currently unused by wowdb.com, and it causes unneeded bloat in the raw lua DB. | 2500 -- This function produces data currently unused by wowdb.com, and it causes unneeded bloat in the raw lua DB. |
| 2502 --[[function WDP:PET_JOURNAL_LIST_UPDATE(event_name) | 2501 --[[local LPJ = LibStub("LibPetJournal-2.0") |
| 2502 function WDP:PET_JOURNAL_LIST_UPDATE(event_name) | |
| 2503 if DEBUGGING then | 2503 if DEBUGGING then |
| 2504 return | 2504 return |
| 2505 end | 2505 end |
| 2506 | 2506 |
| 2507 local num_pets = LPJ:NumPets() | 2507 local num_pets = LPJ:NumPets() |
