summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-12-11 03:48:03 -0600
committerJules Laplace <jules@okfoc.us>2015-12-11 03:48:03 -0600
commit0e070756a7e66975fe381577e93dd5f709017bf7 (patch)
tree51e8e11790454c303cefa54e7c3e11bb503913b6 /StoneIsland/platforms/ios/www/js
parent728ca37223de06b8082d9f65c6a2751360a396b1 (diff)
yt link
Diffstat (limited to 'StoneIsland/platforms/ios/www/js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/etc/push.js22
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/nav/NavView.js4
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')
+ },
})