mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 07:20:55 +01: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(caller)
|
||||
|
|
Loading…
Reference in a new issue