summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-12-11 03:38:21 -0600
committerJules Laplace <jules@okfoc.us>2015-12-11 03:38:21 -0600
commit728ca37223de06b8082d9f65c6a2751360a396b1 (patch)
treef255ad0c37401ffc5fb6f62c92765c2ec4bae226 /StoneIsland/www/js
parent3ae533445b2cd2738b1f4cf1c3b6faa2a0c866c9 (diff)
push notifications
Diffstat (limited to 'StoneIsland/www/js')
-rwxr-xr-xStoneIsland/www/js/lib/etc/push.js22
1 files changed, 6 insertions, 16 deletions
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