Mercurial > wow > devian
changeset 38:d432f49e340e v2.0-beta-r38
remove prints
author | Nenue |
---|---|
date | Sun, 27 Dec 2015 08:35:28 -0500 |
parents | e3206e85ca70 |
children | 2113015dec95 |
files | Devian.lua UI.lua |
diffstat | 2 files changed, 18 insertions(+), 16 deletions(-) [+] |
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
--- a/UI.lua Sun Dec 27 08:24:27 2015 -0500 +++ b/UI.lua Sun Dec 27 08:35:28 2015 -0500 @@ -210,11 +210,11 @@ f.enabled = nil f:Hide() f:Save() - end }, + end },--[[ { text = "Dock", value = "OptDock", - func = function() print('Dvn', 'docking shenanary') end } + func = function() print('Dvn', 'docking shenanary') end }]] } for _, v in ipairs(info) do UIDropDownMenu_AddButton(v) @@ -247,7 +247,7 @@ local t_info = {} local channel, isNew, id, sig, t_id --@debug@ - print('setchan(0) cinfo, key', cinfo, key)--@end-debug@ + --print('setchan(0) cinfo, key', cinfo, key)--@end-debug@ -- obtain source data if tonumber(key) ~= nil and db.channels[key] then id = tonumber(key) @@ -261,7 +261,7 @@ t_id = id -- overridden later if new t_info.index = t_id -- --@debug@ - print('setchan(1) cinfo, key, id=', cinfo, key, id)--@end-debug@ + --print('setchan(1) cinfo, key, id=', cinfo, key, id)--@end-debug@ -- obtain config info @@ -279,7 +279,7 @@ end t_info.signature = sig --@debug@ - print('setchan(2) sig,id,isNew=', sig, id, isNew)--@end-debug@ + --print('setchan(2) sig,id,isNew=', sig, id, isNew)--@end-debug@ for k,v in pairs(cinfo) do -- allow all cinfo to pass t_info[k] = v @@ -307,10 +307,10 @@ t_id = self.max_channel + 1 t_info.index = t_id --@debug@ - print('setchan(3a) t_id, isNew, sig, t_info.signature=', t_id, isNew, sig, t_info.signature)--@end-debug@ + --print('setchan(3a) t_id, isNew, sig, t_info.signature=', t_id, isNew, sig, t_info.signature)--@end-debug@ else --@debug@ - print('setchan(3b) t_id, isNew, sig, t_info.signature=', t_id, isNew, sig, t_info.signature)--@end-debug@ + --print('setchan(3b) t_id, isNew, sig, t_info.signature=', t_id, isNew, sig, t_info.signature)--@end-debug@ end local channel @@ -322,7 +322,7 @@ t_info.y = t_info.y - 20 db.channels[t_id] = t_info --@debug@ - print('setchan(4a)', 't_id, x, y=', t_id, t_info.x, t_info.y)--@end-debug@ + --print('setchan(4a)', 't_id, x, y=', t_id, t_info.x, t_info.y)--@end-debug@ end channel = CreateConsole(t_id, t_info) self.console[t_id] = channel @@ -339,10 +339,10 @@ end if channel.enabled and db.enabled then -- hide or show last since Min/Max mess with visibility - print('setchan(5a) enable') + --print('setchan(5a) enable') channel:Show() else - print('setchan(5a) disable') + --print('setchan(5a) disable') channel:Hide() end --@debug@