libs/web: remove debugging code

This commit is contained in:
Jo-Philipp Wich 2012-01-08 23:39:29 +00:00
parent 875baa244a
commit a4996261ea
2 changed files with 0 additions and 3 deletions

View file

@ -1432,13 +1432,11 @@ function AbstractValue.validate(self, value)
local v
for _, v in ipairs(value) do
if v and #v > 0 and not verify_datatype(self.datatype, v) then
error('F')
return nil
end
end
else
if not verify_datatype(self.datatype, value) then
error('F')
return nil
end
end

View file

@ -29,7 +29,6 @@ _M['or'] = function(v, ...)
local f = select(i, ...)
local a = select(i+1, ...)
if type(f) ~= "function" then
print("COMP", f, v)
if f == v then
return true
end