From 5bdbed2105260d8c656b8977fb56373aadede7c6 Mon Sep 17 00:00:00 2001 From: Rael Date: Fri, 20 Nov 2015 08:13:40 -0200 Subject: Just keeping the formatting --- scudcloud-1.1/scudcloud-src.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/scudcloud-1.1/scudcloud-src.js b/scudcloud-1.1/scudcloud-src.js index 3bb9beb..a896cca 100644 --- a/scudcloud-1.1/scudcloud-src.js +++ b/scudcloud-1.1/scudcloud-src.js @@ -1,8 +1,7 @@ - ScudCloud = { unloaded: true, // App functions - hasPreference: function(name){ + hasPreference: function(name){ return false; }, getPreference: function(name){ @@ -72,16 +71,16 @@ ScudCloud = { createSnippet: function(){ return TS.ui.snippet_dialog.start(); }, - listChannels: function(){ + listChannels: function(){ return TS.channels.getUnarchivedChannelsForUser(); }, - listTeams: function(){ + listTeams: function(){ var list = TS.getAllTeams(); // Fix for current team displaying no icon list[0].team_icon = {"image_44":TS.model.team.icon.image_44}; return list; }, - quicklist: function(){ + quicklist: function(){ desktop.quicklist(ScudCloud.listChannels()); }, join: function(c){ @@ -90,10 +89,10 @@ ScudCloud = { setClipboard: function(data){ TS.client.ui.file_pasted_sig.dispatch(data, TS.model.shift_key_pressed); }, - preferences: function(){ + preferences: function(){ return TS.ui.prefs_dialog.start(); }, - addTeam: function(){ + addTeam: function(){ document.location = TS.boot_data.signin_url; }, getCurrentTeam: function(){ @@ -105,10 +104,10 @@ ScudCloud = { } return ""; }, - logout: function(){ + logout: function(){ document.location = TS.boot_data.logout_url; }, - help: function(){ + help: function(){ return TS.help_dialog.start(); } }; -- cgit v1.1