summaryrefslogtreecommitdiffstats
path: root/web/react/pages/channel.jsx
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-08-11 16:52:36 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-08-11 16:53:15 -0400
commitd35065d6fd8237468ee3aa63bfba3b2aa29bc4af (patch)
treeff393b44db60ad97ecc203e6424aeab19ac269e2 /web/react/pages/channel.jsx
parent37909f52ad4f9cca9ffecd008956912b4a6cf5c7 (diff)
downloadchat-d35065d6fd8237468ee3aa63bfba3b2aa29bc4af.tar.gz
chat-d35065d6fd8237468ee3aa63bfba3b2aa29bc4af.tar.bz2
chat-d35065d6fd8237468ee3aa63bfba3b2aa29bc4af.zip
Reformatted code to match the style guide
Diffstat (limited to 'web/react/pages/channel.jsx')
-rw-r--r--web/react/pages/channel.jsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/web/react/pages/channel.jsx b/web/react/pages/channel.jsx
index 99d5c5e9f..732835dc7 100644
--- a/web/react/pages/channel.jsx
+++ b/web/react/pages/channel.jsx
@@ -43,14 +43,14 @@ var ActionTypes = Constants.ActionTypes;
global.window.setup_channel_page = function(team_name, team_type, team_id, channel_name, channel_id) {
AppDispatcher.handleViewAction({
- type: ActionTypes.CLICK_CHANNEL,
- name: channel_name,
- id: channel_id
+ type: ActionTypes.CLICK_CHANNEL,
+ name: channel_name,
+ id: channel_id
});
AppDispatcher.handleViewAction({
- type: ActionTypes.CLICK_TEAM,
- id: team_id
+ type: ActionTypes.CLICK_TEAM,
+ id: team_id
});
React.render(
@@ -194,17 +194,17 @@ global.window.setup_channel_page = function(team_name, team_type, team_id, chann
);
React.render(
- <MentionList id="post_textbox" />,
+ <MentionList id='post_textbox' />,
document.getElementById('post_mention_tab')
);
React.render(
- <MentionList id="reply_textbox" />,
+ <MentionList id='reply_textbox' />,
document.getElementById('reply_mention_tab')
);
React.render(
- <MentionList id="edit_textbox" />,
+ <MentionList id='edit_textbox' />,
document.getElementById('edit_mention_tab')
);