mirror of
https://github.com/matrix-construct/construct
synced 2024-09-29 12:18:54 +02:00
client: Alias Object.debug and mc.debug.object.
This commit is contained in:
parent
f931308850
commit
0d753cf52f
1 changed files with 9 additions and 0 deletions
|
@ -153,6 +153,15 @@ const debug =
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Convenience because I keep typing it
|
||||||
|
*/
|
||||||
|
Object.debug = function(...obj)
|
||||||
|
{
|
||||||
|
return debug.object(...obj);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
*/
|
||||||
function stacktrace()
|
function stacktrace()
|
||||||
{
|
{
|
||||||
function _stacktrace(caller)
|
function _stacktrace(caller)
|
||||||
|
|
Loading…
Reference in a new issue