0
0
Fork 0
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:
Jason Volk 2017-12-12 13:28:16 -07:00
parent f931308850
commit 0d753cf52f

View file

@ -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)