changeset 18:c37c2a46723c

Remove debug printing
author contrebasse
date Fri, 08 Apr 2011 19:24:22 +0200
parents 5336b3a19d4f
children f7b23db7bcc6
files ReagentMaker.lua
diffstat 1 files changed, 1 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/ReagentMaker.lua	Fri Apr 08 01:01:00 2011 +0200
+++ b/ReagentMaker.lua	Fri Apr 08 19:24:22 2011 +0200
@@ -2,13 +2,10 @@
 
 -- @todo clean the A table
 -- @todo check local copy of globals functions
--- @todo add support for sub-recipes (like ink plus milling)
--- @todo show a tooltip
 -- @todo show number of craftable items
 -- @todo show owned items
 -- @todo add support for dez ?
 -- @todo add support for cross tradeskill, like mining + forge/ingé
--- @todo icon on reagent's button
 
 ---------------------------------------------------
 -- Variables
@@ -33,13 +30,11 @@
 	t_throttle = t_throttle - t_elapsed
 	if t_throttle<0 then
 		self:SetScript("OnUpdate", nil)
-		print("go")
-		
+
 		-- Close the external window if the tradeskill changed
 		if A.currentTradeSkill ~= GetTradeSkillLine() then
 			A.MenuFrame:Hide()
 		end
-
 		if IsTradeSkillGuild() or IsTradeSkillLinked() then
 			A.MenuFrame:Hide()
 			return
@@ -50,25 +45,9 @@
 	end
 end
 A.EventsFrame:SetScript("OnEvent", function(self, event)
-	print(self,event)
 	if event == "TRADE_SKILL_UPDATE" then
 		t_throttle = SCAN_DELAY
 		self:SetScript("OnUpdate", throttleScan)
-		
-		--[[
-		-- Close the external window if the tradeskill changed
-		if A.currentTradeSkill ~= GetTradeSkillLine() then
-			A.MenuFrame:Hide()
-		end
-
-		if IsTradeSkillGuild() or IsTradeSkillLinked() then
-			A.MenuFrame:Hide()
-			return
-		end
-
-		-- Scan availabe recipes
-		A:ScanSimpleRecipes()
-		--]]
 
 	elseif event == "TRADE_SKILL_SHOW" then
 		A:Initialize()