From 728ca37223de06b8082d9f65c6a2751360a396b1 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 11 Dec 2015 03:38:21 -0600 Subject: push notifications --- StoneIsland/www/js/lib/etc/push.js | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'StoneIsland/www/js/lib/etc/push.js') diff --git a/StoneIsland/www/js/lib/etc/push.js b/StoneIsland/www/js/lib/etc/push.js index 9260ca14..9a921059 100755 --- a/StoneIsland/www/js/lib/etc/push.js +++ b/StoneIsland/www/js/lib/etc/push.js @@ -35,22 +35,12 @@ var push = (function(){ cb && cb() }, push.error) } - push.did_subscribe = function(){ - // parsePlugin.getInstallationId(function(id) { - // var install_data = { - // installation_id: id, - // channels: ['SampleChannel'] - // } - // }, push.error) - } - push.did_unsubscribe = function(){ - // parsePlugin.getInstallationId(function(id) { - // var install_data = { - // installation_id: id, - // channels: ['SampleChannel'] - // } - // }, push.error) - } + // parsePlugin.getInstallationId(function(id) { + // var install_data = { + // installation_id: id, + // channels: ['SampleChannel'] + // } + // }, push.error) push.got_push_notification = function(push_obj) { alert('We received this push notification: ' + JSON.stringify(push_obj)); app.collection.loaded = false -- cgit v1.2.3-70-g09d2