@cleaning code..
This commit is contained in:
parent
a2f37c7a2f
commit
bdfe70d5c2
1 changed files with 0 additions and 20 deletions
|
@ -831,12 +831,6 @@ function checkAndReset() {
|
|||
|
||||
|
||||
|
||||
var my_media = {};
|
||||
function spengimi() {
|
||||
my_media.stop();
|
||||
$("#spegni-musica").hide();
|
||||
|
||||
}
|
||||
function onDeviceReadyPush() {
|
||||
var push = PushNotification.init({
|
||||
android: {
|
||||
|
@ -875,20 +869,6 @@ function onDeviceReadyPush() {
|
|||
$("#alert-title").html(data.title);
|
||||
$("#alert-message").html(data.message);
|
||||
|
||||
// /*
|
||||
// * suona l'allarme
|
||||
// */
|
||||
// my_media = new Media("/android_asset/www/media/alarm.wav",
|
||||
// // success callback
|
||||
// function () {
|
||||
// console.log("play(): Success");
|
||||
// },
|
||||
// // error callback
|
||||
// function (err) {
|
||||
// console.log("play(): Error: " + JSON.stringify(err));
|
||||
// }
|
||||
// );
|
||||
// my_media.play();
|
||||
});
|
||||
|
||||
push.on('error', function(e) {
|
||||
|
|
Loading…
Reference in a new issue