api: use dynamic shortcut for string.gfind

This commit is contained in:
shagu
2018-09-28 22:53:16 +02:00
parent 0d993806e6
commit 7ecac458ac
8 changed files with 26 additions and 20 deletions
+3
View File
@@ -8,6 +8,9 @@ setfenv(1, pfUI:GetEnvironment())
-- the "MiniMapTrackingFrame" is called "MiniMapTracking"
pfUI.api.MiniMapTrackingFrame = _G.MiniMapTracking
-- gfind got replaced by gmatch
pfUI.api.gfind = string.gmatch
-- blacklist pfUI functions
pfUI.api.hooksecurefunc = nil
pfUI.api.select = nil