diff options
Diffstat (limited to 'StoneIsland/platforms/ios/www/js')
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/etc/push.js | 22 | ||||
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/nav/NavView.js | 4 |
2 files changed, 10 insertions, 16 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/etc/push.js b/StoneIsland/platforms/ios/www/js/lib/etc/push.js index 9260ca14..9a921059 100755 --- a/StoneIsland/platforms/ios/www/js/lib/etc/push.js +++ b/StoneIsland/platforms/ios/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 diff --git a/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js b/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js index 704aaa34..71314559 100755 --- a/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js +++ b/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js @@ -34,6 +34,7 @@ var NavView = View.extend({ "click .fb": "fb", "click .insta": "insta", "click .tw": "tw", + "click .yt": "yt", }, initialize: function(){ @@ -153,5 +154,8 @@ var NavView = View.extend({ tw: function(){ window.open("https://twitter.com/stoneisland", '_system') }, + yt: function(){ + window.open("https://www.youtube.com/user/StoneIslandOfficial", '_system') + }, }) |
