libs/web: remove debugging code
This commit is contained in:
parent
875baa244a
commit
a4996261ea
2 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue