log messages
This commit is contained in:
parent
cadad32440
commit
6787d811e6
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ Ox.Message = (function() {
|
||||||
try {
|
try {
|
||||||
data = JSON.parse(e.data);
|
data = JSON.parse(e.data);
|
||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
|
Ox.Log('MESSAGE', data)
|
||||||
if (data.event == 'init') {
|
if (data.event == 'init') {
|
||||||
window.oxid = data.data.id;
|
window.oxid = data.data.id;
|
||||||
} else if (data.event) {
|
} else if (data.event) {
|
||||||
|
|
Loading…
Reference in a new issue