Mercurial > wow > hansgar_and_franzok_assist
diff Libs/DF/split_bar.lua @ 20:dc1c77254f80
- added close button to users panel.
- framework update.
| author | Tercio |
|---|---|
| date | Tue, 11 Aug 2015 12:46:46 -0300 |
| parents | 2f09fe4be15c |
| children | dbd417f413a8 |
line wrap: on
line diff
--- a/Libs/DF/split_bar.lua Sat Jul 18 17:32:30 2015 -0300 +++ b/Libs/DF/split_bar.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 @@ -605,7 +606,7 @@ for funcName, funcAddress in pairs (idx) do if (not SplitBarMetaFunctions [funcName]) then SplitBarMetaFunctions [funcName] = function (object, ...) - local x = loadstring ( "return _G."..object.statusbar:GetName()..":"..funcName.."(...)") + local x = loadstring ( "return _G['"..object.statusbar:GetName().."']:"..funcName.."(...)") return x (...) end end
