xobj returns
This commit is contained in:
parent
740f97e8a2
commit
0ea49d861d
|
@ -65,3 +65,10 @@ stead.fmt = stead.hook(stead.fmt, function(f, ...)
|
|||
end
|
||||
return r;
|
||||
end)
|
||||
|
||||
xobj = stead.inherit(obj, function(v)
|
||||
v.xref = function(s, str)
|
||||
return str
|
||||
end
|
||||
return v
|
||||
end)
|
||||
|
|
Reference in a new issue