diff --git a/boot.lua b/boot.lua index 4bd623bb..3b12ae99 100644 --- a/boot.lua +++ b/boot.lua @@ -22,6 +22,7 @@ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --> initialization stuff +local _ do local _detalhes = _G._detalhes diff --git a/frames/window_macros.lua b/frames/window_macros.lua index 81937947..e8bf1a87 100644 --- a/frames/window_macros.lua +++ b/frames/window_macros.lua @@ -3,6 +3,8 @@ local Details = _G.Details local DF = _G.DetailsFramework +local _ + function Details:InitializeMacrosWindow() local DetailsMacrosPanel = DF:CreateSimplePanel (UIParent, 700, 480, "Details! Useful Macros", "DetailsMacrosPanel") DetailsMacrosPanel.Frame = DetailsMacrosPanel @@ -143,4 +145,4 @@ function Details.OpenMacrosWindow() DetailsPluginContainerWindow.OpenPlugin (DetailsMacrosPanel) DetailsMacrosPanel.MacroScrollbox:Refresh() DetailsMacrosPanel:Show() -end \ No newline at end of file +end diff --git a/frames/window_runcode.lua b/frames/window_runcode.lua index 7798162d..222441db 100644 --- a/frames/window_runcode.lua +++ b/frames/window_runcode.lua @@ -1,7 +1,7 @@ local Details = _G.Details local DF = _G.DetailsFramework - +local _ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -- ~run ~runcode @@ -186,4 +186,4 @@ function Details.OpenRunCodeWindow() local code = Details.run_code [DetailsRunCodePanel.EditingCodeKey] DetailsRunCodePanel.CodeEditor:SetText (code) -end \ No newline at end of file +end diff --git a/frames/window_scrolldamage.lua b/frames/window_scrolldamage.lua index fbc8301d..1177105c 100644 --- a/frames/window_scrolldamage.lua +++ b/frames/window_scrolldamage.lua @@ -3,6 +3,7 @@ local Details = _G.Details local DF = _G.DetailsFramework +local _ function Details:ScrollDamage() if (not DetailsScrollDamage) then @@ -268,4 +269,4 @@ targetDummieHandle:SetScript("OnEvent", function(_, _, unit) end end end) -targetDummieHandle:RegisterEvent("PLAYER_TARGET_CHANGED") \ No newline at end of file +targetDummieHandle:RegisterEvent("PLAYER_TARGET_CHANGED") diff --git a/functions/slash.lua b/functions/slash.lua index a30fdc45..4a361ba5 100644 --- a/functions/slash.lua +++ b/functions/slash.lua @@ -2,6 +2,7 @@ local _detalhes = _G._detalhes local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" ) +local _ local CreateFrame = CreateFrame local pairs = pairs @@ -1924,4 +1925,4 @@ function _detalhes:CreateListPanel() end return _detalhes.ListPanel -end \ No newline at end of file +end