diff Devian.lua @ 38:d432f49e340e v2.0-beta-r38

remove prints
author Nenue
date Sun, 27 Dec 2015 08:35:28 -0500
parents bec37163b7fe
children e95cccfcfeb7
line wrap: on
line diff
--- a/Devian.lua	Sun Dec 27 08:24:27 2015 -0500
+++ b/Devian.lua	Sun Dec 27 08:35:28 2015 -0500
@@ -119,7 +119,7 @@
     local sig
     if tag ~= nil and dest ~= nil then
       --@debug@
-      print(tag, dest)
+      --print(tag, dest)
       --@end-debug@
 
       -- convert to ID
@@ -130,7 +130,8 @@
           sig = dest
         end
       end
-      print('2 tag,dest,sig', tag, dest, sig)
+      --@debug@
+      --print('2 tag,dest,sig', tag, dest, sig)--@end-debug@
 
       -- make a new channel?
       local channel
@@ -139,7 +140,8 @@
         D:Print('Created channel |cFF88FFFF'.. (sig and (dest..':'..sig) or dest ) .. '|r')
         channel = D:SetChannel(sig or tag,dest)
       end
-      print('3',tag, dest)
+      --@debug@
+      --print('3',tag, dest)--@end-debug@
 
       if db.tags[tag] and db.tags[tag][dest] then
         db.tags[tag][dest] = nil
@@ -424,7 +426,7 @@
 
   for i, channel in pairs(db.channels) do
     if type(channel.docked) == 'table' then
-      oldprint('docking',i, unpack(channel.docked))
+      --oldprint('docking',i, unpack(channel.docked))
       self.DockFrame(i, unpack(channel.docked))
     end
   end
@@ -443,7 +445,7 @@
 -- @paramsig [...]
 -- @param ... one or more space-seperated channel keys
 function D:Console_Toggle(input)
-  oldprint(input)
+  --oldprint(input)
   if db.workspace == 1 then
     return self:Print(MSG_NEED_DEV_MODE)
   end
@@ -464,7 +466,7 @@
 
   db.enabled = (not db.enabled) and true or nil
   for i, id in pairs(search) do
-    oldprint(i, id)
+    --oldprint(i, id)
     local c = self.console[id]
     if db.enabled then
       c.enabled = true