diff options
author | Rael <rael.gc@gmail.com> | 2015-11-20 08:13:40 -0200 |
---|---|---|
committer | Rael <rael.gc@gmail.com> | 2015-11-20 08:13:40 -0200 |
commit | 5bdbed2105260d8c656b8977fb56373aadede7c6 (patch) | |
tree | e021fe9044abf2f727e9f9073ef2a42132939780 | |
parent | 622a55342859bd3df5321e782fa23c893c2818ed (diff) | |
download | scudcloud-5bdbed2105260d8c656b8977fb56373aadede7c6.zip scudcloud-5bdbed2105260d8c656b8977fb56373aadede7c6.tar.gz scudcloud-5bdbed2105260d8c656b8977fb56373aadede7c6.tar.bz2 |
Just keeping the formatting
-rw-r--r-- | scudcloud-1.1/scudcloud-src.js | 17 |
1 files 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(); } }; |