Quantcast

Stable

Eric Nickell [01-14-11 - 03:38]
Stable
Filename
SageGearLevelTooltip.lua
diff --git a/SageGearLevelTooltip.lua b/SageGearLevelTooltip.lua
index 3033258..a67f3d7 100644
--- a/SageGearLevelTooltip.lua
+++ b/SageGearLevelTooltip.lua
@@ -74,7 +74,6 @@ local ItemLevelIdCommenter do
 				"id " .. itemId,
 				class.r, class.g, class.b,
 				1, 1, 1)
---		return level, {label="iLevel", r=class.r, g=class.g, b=class.b}
 	end

 	ItemLevelIdCommenter = class
@@ -99,41 +98,6 @@ local ItemIdEvaluator do
 end

 ----------------------------------------------------------------------------------------------------
-local PairItemCommentor do
-	local class = newClass{name="PairItemCommenter", super=CachableEvaluator}
-
---		local left, leftLabel, right, rightLabel = self.evaluator:Evaluate(itemLink)
---		if left and leftLabel and right and rightLabel then
---			tooltip:AddDoubleLine(
---					leftLabel.label .. ": " .. left,
---					rightLabel.label .. ": " .. right,
---					leftLabel.r, leftLabel.g, leftLabel.b,
---					rightLabel.r, rightLabel.g, rightLabel.b)
---		elseif left and leftLabel then
---			tooltip:AddLine(leftLabel.label .. ": " .. left, leftLabel.r, leftLabel.g, leftLabel.b)
---		end
-
-
-	function class:_Initialize(instance, left, right)		--self is class
-		self.super:_Initialize(instance)
-		instance.left = left
-		instance.right = right
-	end
-
-	function class:Evaluate(itemLink)
-		if not itemLink then return end
-		local left, leftLabel = self.left:Evaluate(itemLink)
-		if left and leftLabel then
---			local right, rightLabel = self.right:Evaluate(itemLink)
---			return left, leftLabel, right, rightLabel
-			return left, leftLabel, self.right:Evaluate(itemLink)
-		end
-	end
-
-	PairItemCommentor = class
-end
-
-----------------------------------------------------------------------------------------------------
 local ITEM_MOD_NAME_MAP = {
 	EMPTY_SOCKET_RED="RedSocket",
 	EMPTY_SOCKET_BLUE="BlueSocket",