Skip to content

Commit

Permalink
Library update
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Feb 23, 2018
1 parent 6b0ff06 commit 5dbdf62
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
All Rights Reserved unless otherwise explicitly stated.
Copyright (c) 2013-2017 Paweł Jastrzębski <[email protected]>
Copyright (c) 2013-2018 Paweł Jastrzębski <[email protected]>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

All Rights Reserved unless otherwise explicitly stated.

Copyright (c) 2013-2017 Paweł Jastrzębski <[email protected]>
Copyright (c) 2013-2018 Paweł Jastrzębski <[email protected]>
14 changes: 7 additions & 7 deletions REKeys.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
local _G = _G
_G.REKeysNamespace = {["AceBucket"] = {}}
local RE = REKeysNamespace
local _, RE = ...
local LDB = LibStub("LibDataBroker-1.1")
local QTIP = LibStub("LibQTip-1.0")
local BUCKET = LibStub("AceBucket-3.0")
local L = LibStub("AceLocale-3.0"):GetLocale("REKeys")
LibStub("AceBucket-3.0"):Embed(RE.AceBucket)
_G.REKeys = RE

--GLOBALS: SLASH_REKEYS1, SLASH_REKEYS2, NUM_BAG_SLOTS, RAID_CLASS_COLORS, Game15Font, Game18Font, GameTooltipHeaderText
local strsplit, pairs, ipairs, select, sbyte, sformat, strfind, time, date, tonumber, fastrandom, wipe, sort, tinsert, next, print, unpack = _G.strsplit, _G.pairs, _G.ipairs, _G.select, _G.string.byte, _G.string.format, _G.strfind, _G.time, _G.date, _G.tonumber, _G.fastrandom, _G.wipe, _G.sort, _G.tinsert, _G.next, _G.print, _G.unpack
Expand Down Expand Up @@ -535,12 +535,12 @@ end
function RE:KeySearchDelay()
RE.BestRun = RE:GetBestRun()
RE:FindKey()
_G.REKeys:RegisterEvent("CHALLENGE_MODE_COMPLETED")
_G.REKeys:RegisterEvent("QUEST_ACCEPTED")
RE.AceBucket:RegisterBucketEvent("BAG_UPDATE", 2, RE.FindKey)
_G.REKeysFrame:RegisterEvent("CHALLENGE_MODE_COMPLETED")
_G.REKeysFrame:RegisterEvent("QUEST_ACCEPTED")
BUCKET:RegisterBucketEvent("BAG_UPDATE", 2, RE.FindKey)
if IsAddOnLoaded("RaiderIO") then
RE.RaiderIO = true
_G.REKeys:RegisterEvent("MODIFIER_STATE_CHANGED")
_G.REKeysFrame:RegisterEvent("MODIFIER_STATE_CHANGED")
end
end

Expand Down
2 changes: 1 addition & 1 deletion REKeys.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 70300
## Title: |cFF74D06CRE|rKeys
## Notes: Collect information about keystones owned by your friends.
## Version: 1.3.4
## Version: 1.3.5
## Author: AcidWeb
## SavedVariables: REKeysDB, REKeysSettings

Expand Down
8 changes: 4 additions & 4 deletions REKeys.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">

<Script file="REKeys.lua"/>
<Frame name="REKeys">

<Frame name="REKeysFrame">
<Scripts>
<OnLoad>REKeysNamespace:OnLoad(self)</OnLoad>
<OnEvent>REKeysNamespace:OnEvent(self, event, ...)</OnEvent>
<OnLoad>REKeys:OnLoad(self)</OnLoad>
<OnEvent>REKeys:OnEvent(self, event, ...)</OnEvent>
</Scripts>
</Frame>

Expand Down

0 comments on commit 5dbdf62

Please sign in to comment.