diff Libs/DF/fw.lua @ 53:36b4d9559b69 v7.3.0.053

- framework update.
author Tercio
date Sat, 14 Oct 2017 17:09:17 -0300
parents 7d5934415ad0
children 307f5af3ad02
line wrap: on
line diff
--- a/Libs/DF/fw.lua	Sat Sep 02 12:43:20 2017 -0300
+++ b/Libs/DF/fw.lua	Sat Oct 14 17:09:17 2017 -0300
@@ -1,5 +1,5 @@
 
-local dversion = 54
+local dversion = 58
 local major, minor = "DetailsFramework-1.0", dversion
 local DF, oldminor = LibStub:NewLibrary (major, minor)
 
@@ -116,6 +116,7 @@
 	"CreateScrollBox",
 	"CreateBorder",
 	"FormatNumber",
+	"IntegerToTimer",
 }
 
 DF.table = {}
@@ -425,13 +426,13 @@
 		
 		if (_type (v1) == "string") then
 			local frameGlobal = _G [v1]
-			if (frameGlobal and frameGlobal.GetObjectType) then
+			if (frameGlobal and type (frameGlobal) == "table" and frameGlobal.GetObjectType) then
 				return DF:CheckPoints (frameGlobal, v2, v3, v4, v5, object)
 			end
 			
 		elseif (_type (v2) == "string") then
 			local frameGlobal = _G [v2]
-			if (frameGlobal and frameGlobal.GetObjectType) then
+			if (frameGlobal and type (frameGlobal) == "table" and frameGlobal.GetObjectType) then
 				return DF:CheckPoints (v1, frameGlobal, v3, v4, v5, object)
 			end
 		end