diff --git a/www/js/main.js b/www/js/main.js index 15ef281..f7b9bd3 100644 --- a/www/js/main.js +++ b/www/js/main.js @@ -849,27 +849,20 @@ function onDeviceReadyPush() { // console.log(JSON.stringify(registration)); var url = "https://xm.bus.pm/api/d/c?device=" + registration.registrationId; $.get(url, function( data ) { - // alert(data); - // console.log(data); - // console.log(data); - // console.log(data); - // console.log(data); + console.log(JSON.stringify(data)); + console.log(JSON.stringify(data)); // $(".hiddendiv").append('
  • REQ A2A: '+ data +'
  • '); }); }); push.on('notification', function(data) { - // alert(data.message); - // data.message, - // data.title, - // data.count, - // data.sound, - // data.image, - // data.additionalData + console.log(JSON.stringify(data)); + console.log(JSON.stringify(data)); }); push.on('error', function(e) { - // e.message + console.log(JSON.stringify(e)); + console.log(JSON.stringify(e)); }); };