Mercurial > wow > hansgar_and_franzok_assist
diff Libs/DF/slider.lua @ 20:dc1c77254f80
- added close button to users panel.
- framework update.
| author | Tercio |
|---|---|
| date | Tue, 11 Aug 2015 12:46:46 -0300 |
| parents | 6dd01dcec75e |
| children | dbd417f413a8 |
line wrap: on
line diff
--- a/Libs/DF/slider.lua Sat Jul 18 17:32:30 2015 -0300 +++ b/Libs/DF/slider.lua Tue Aug 11 12:46:46 2015 -0300 @@ -1,9 +1,10 @@ - - local DF = _G ["DetailsFramework"] +if (not DF or not DetailsFrameworkCanLoad) then + return +end + local _ - local _rawset = rawset --> lua local local _rawget = rawget --> lua local local _setmetatable = setmetatable --> lua local @@ -966,7 +967,7 @@ for funcName, funcAddress in pairs (idx) do if (not SliderMetaFunctions [funcName]) then SliderMetaFunctions [funcName] = function (object, ...) - local x = loadstring ( "return _G."..object.slider:GetName()..":"..funcName.."(...)") + local x = loadstring ( "return _G['"..object.slider:GetName().."']:"..funcName.."(...)") return x (...) end end
