2017-01-21 13:34:39 -05:00
|
|
|
const Debug = function(arg = window.Metamaps) {
|
2017-01-21 13:09:26 -05:00
|
|
|
if (arg === undefined && typeof window !== 'undefined') arg = window.Metamaps
|
2016-09-22 18:31:56 +08:00
|
|
|
console.debug(arg)
|
2017-01-21 13:09:26 -05:00
|
|
|
console.debug(`Metamaps Version: ${arg.ServerData.VERSION}`)
|
|
|
|
console.debug(`Build: ${arg.ServerData.BUILD}`)
|
|
|
|
console.debug(`Last Updated: ${arg.ServerData.LAST_UPDATED}`)
|
2016-04-06 10:27:31 +08:00
|
|
|
}
|
2016-09-22 15:21:59 +08:00
|
|
|
|
|
|
|
export default Debug
|