aboutsummaryrefslogtreecommitdiffstats
path: root/scudcloud-1.0/resources
diff options
context:
space:
mode:
authorRael <rael.gc@gmail.com>2015-06-16 09:48:10 -0300
committerRael <rael.gc@gmail.com>2015-06-16 09:48:10 -0300
commit0df3d2f3d9ef47ad414745acaf11ca13b5d65fc3 (patch)
tree6df90f6acff410af870494743021d034a8b3d8ee /scudcloud-1.0/resources
parentb96a9e45cbc4b1013e38e1a7317ab2962483aeef (diff)
downloadscudcloud-0df3d2f3d9ef47ad414745acaf11ca13b5d65fc3.zip
scudcloud-0df3d2f3d9ef47ad414745acaf11ca13b5d65fc3.tar.gz
scudcloud-0df3d2f3d9ef47ad414745acaf11ca13b5d65fc3.tar.bz2
Fixing first team icon (mentioned in #81)
Diffstat (limited to 'scudcloud-1.0/resources')
-rw-r--r--scudcloud-1.0/resources/scudcloud.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scudcloud-1.0/resources/scudcloud.js b/scudcloud-1.0/resources/scudcloud.js
index aca4823..b1afd1c 100644
--- a/scudcloud-1.0/resources/scudcloud.js
+++ b/scudcloud-1.0/resources/scudcloud.js
@@ -1 +1 @@
-var ScudCloud={connected:!1,overrideNotifications:function(){TS.ui.growls.no_notifications=!1,TS.ui.growls.checkPermission=function(){return!0},TS.ui.growls.getPermissionLevel=function(){return"granted"},TS.ui.growls.show=function(n,e,t){desktop.sendMessage(n,t)},TS.ui.banner.close()},connect:function(n){ScudCloud.connected=n,desktop.enableMenus(n)},count:function(){var n=0;$("span.unread_highlight").not(".hidden").each(function(){n+=new Number($(this).text().replace("+",""))}),desktop.count(n.toString())},isConnected:function(){return ScudCloud.connected},listChannels:function(){return TS.channels.getUnarchivedChannelsForUser()},listTeams:function(){return TS.getAllTeams()},quicklist:function(){desktop.quicklist(ScudCloud.listChannels())},join:function(n){return TS.channels.join(n)},setClipboard:function(n){TS.client.ui.file_pasted_sig.dispatch(n,TS.model.shift_key_pressed)},preferences:function(){return TS.ui.prefs_dialog.start()},addTeam:function(){document.location=TS.boot_data.signin_url},getCurrentTeam:function(){var n=TS.getAllTeams();if(null!=n)for(var e=0;n.length;e++)if(n[e].team_url==TS.boot_data.team_url)return n[e].id;return""},logout:function(){document.location=TS.boot_data.logout_url},help:function(){return TS.help_dialog.start()},isConnected:function(){return"undefined"!=typeof TS&&"undefined"!=typeof TS.model&&TS.model.ms_connected}},boot_data={};"undefined"!=typeof TS?(document.onpaste=function(){desktop.pasted(!1)},ScudCloud.overrideNotifications(),TS.ms.connected_sig.add(function(){ScudCloud.connect(!0)}),TS.ms.disconnected_sig.add(function(){ScudCloud.connect(!1)}),ScudCloud.onDOMReady=TS.onDOMReady,TS.onDOMReady=function(){ScudCloud.overrideNotifications(),ScudCloud.onDOMReady()},setInterval(function(){ScudCloud.count()},1e3*Math.random()+1e3),boot_data.channels=ScudCloud.listChannels(),boot_data.teams=ScudCloud.listTeams()):(boot_data.channels=new Array,boot_data.teams=new Array);boot_data
+var ScudCloud={connected:!1,overrideNotifications:function(){TS.ui.growls.no_notifications=!1,TS.ui.growls.checkPermission=function(){return!0},TS.ui.growls.getPermissionLevel=function(){return"granted"},TS.ui.growls.show=function(n,e,t){desktop.sendMessage(n,t)},TS.ui.banner.close()},connect:function(n){ScudCloud.connected=n,desktop.enableMenus(n)},count:function(){var n=0;$("span.unread_highlight").not(".hidden").each(function(){n+=new Number($(this).text().replace("+",""))}),desktop.count(n.toString())},isConnected:function(){return ScudCloud.connected},listChannels:function(){return TS.channels.getUnarchivedChannelsForUser()},listTeams:function(){var n=TS.getAllTeams();return n[0].team_icon={image_88:TS.model.team.icon.image_88},n},quicklist:function(){desktop.quicklist(ScudCloud.listChannels())},join:function(n){return TS.channels.join(n)},setClipboard:function(n){TS.client.ui.file_pasted_sig.dispatch(n,TS.model.shift_key_pressed)},preferences:function(){return TS.ui.prefs_dialog.start()},addTeam:function(){document.location=TS.boot_data.signin_url},getCurrentTeam:function(){var n=TS.getAllTeams();if(null!=n)for(var e=0;n.length;e++)if(n[e].team_url==TS.boot_data.team_url)return n[e].id;return""},logout:function(){document.location=TS.boot_data.logout_url},help:function(){return TS.help_dialog.start()},isConnected:function(){return"undefined"!=typeof TS&&"undefined"!=typeof TS.model&&TS.model.ms_connected}},boot_data={};"undefined"!=typeof TS?(document.onpaste=function(){desktop.pasted(!1)},ScudCloud.overrideNotifications(),TS.ms.connected_sig.add(function(){ScudCloud.connect(!0)}),TS.ms.disconnected_sig.add(function(){ScudCloud.connect(!1)}),ScudCloud.onDOMReady=TS.onDOMReady,TS.onDOMReady=function(){ScudCloud.overrideNotifications(),ScudCloud.onDOMReady()},setInterval(function(){ScudCloud.count()},1e3*Math.random()+1e3),boot_data.channels=ScudCloud.listChannels(),boot_data.teams=ScudCloud.listTeams()):(boot_data.channels=new Array,boot_data.teams=new Array);boot_data