diff SkeletonKey/HotKey.lua @ 59:d8bb2629fea8

LKT - organized addon templates a little - centralized ticker
author Nenue
date Sat, 27 Aug 2016 10:31:48 -0400
parents 9eebce04e69b
children b7be92f62b05
line wrap: on
line diff
--- a/SkeletonKey/HotKey.lua	Mon Aug 22 09:24:33 2016 -0400
+++ b/SkeletonKey/HotKey.lua	Sat Aug 27 10:31:48 2016 -0400
@@ -5,11 +5,11 @@
 -- Module for fixing actionbar hotkey text
 
 local _G, wipe, tContains, tinsert = _G, table.wipe, tContains, tinsert
-local kb, print, wrap = LibStub("LibKraken").register(KeyBinder, 'HotKey')
-local hotkey = {}
+local kb, print, wrap = LibStub("LibKraken").register(KeyBinder, "HotKey")
 local hotkeyText = {}
 local blizHotKey = {}
 local bindings
+local hotkey = {}
 
 -- frames obtained via post-load hooks, created by addons like Dominos or BarTender4
 local loadedFrames = {}
@@ -20,7 +20,7 @@
 local actionFrames = {}
 local actionIndex = {}
 
-kb.wrap(hotkey)
+kb:wrap(hotkey)
 
 --- Used to determine which groups of action buttons need updating
 local hotkeyEvents = {