try to fix metamaps.debug
This commit is contained in:
parent
d47d7e50e7
commit
ba3d5f07dd
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
|||
const Debug = (arg = window.Metamaps) => {
|
||||
const Debug = function(arg = window.Metamaps) => {
|
||||
if (arg === undefined && typeof window !== 'undefined') arg = window.Metamaps
|
||||
console.debug(arg)
|
||||
console.debug(`Metamaps Version: ${arg.VERSION}`)
|
||||
console.debug(`Metamaps Version: ${arg.ServerData.VERSION}`)
|
||||
console.debug(`Build: ${arg.ServerData.BUILD}`)
|
||||
console.debug(`Last Updated: ${arg.ServerData.LAST_UPDATED}`)
|
||||
}
|
||||
|
||||
export default Debug
|
||||
|
|
Loading…
Reference in a new issue