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
|
local v
|
||||||
for _, v in ipairs(value) do
|
for _, v in ipairs(value) do
|
||||||
if v and #v > 0 and not verify_datatype(self.datatype, v) then
|
if v and #v > 0 and not verify_datatype(self.datatype, v) then
|
||||||
error('F')
|
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if not verify_datatype(self.datatype, value) then
|
if not verify_datatype(self.datatype, value) then
|
||||||
error('F')
|
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -29,7 +29,6 @@ _M['or'] = function(v, ...)
|
||||||
local f = select(i, ...)
|
local f = select(i, ...)
|
||||||
local a = select(i+1, ...)
|
local a = select(i+1, ...)
|
||||||
if type(f) ~= "function" then
|
if type(f) ~= "function" then
|
||||||
print("COMP", f, v)
|
|
||||||
if f == v then
|
if f == v then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue