From 5c35c2631e59f895a7b0fb6761c1cae7aee60466 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Thu, 19 Nov 2015 18:10:08 -0500
Subject: Upgrading ESLint and adding some more rules. Refactoring to meet
 these new rules

---
 web/react/components/command_list.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'web/react/components/command_list.jsx')

diff --git a/web/react/components/command_list.jsx b/web/react/components/command_list.jsx
index a6d9d5d70..9b479b973 100644
--- a/web/react/components/command_list.jsx
+++ b/web/react/components/command_list.jsx
@@ -13,14 +13,14 @@ export default class CommandList extends React.Component {
         this.getSuggestedCommands = this.getSuggestedCommands.bind(this);
 
         this.state = {
-            suggestions: [ ],
+            suggestions: [],
             cmd: ''
         };
     }
 
     handleClick(i) {
         this.props.addCommand(this.state.suggestions[i].suggestion);
-        this.setState({suggestions: [ ], cmd: ''});
+        this.setState({suggestions: [], cmd: ''});
     }
 
     addFirstCommand() {
@@ -36,7 +36,7 @@ export default class CommandList extends React.Component {
 
     getSuggestedCommands(cmd) {
         if (!cmd || cmd.charAt(0) !== '/') {
-            this.setState({suggestions: [ ], cmd: ''});
+            this.setState({suggestions: [], cmd: ''});
             return;
         }
 
-- 
cgit v1.2.3-1-g7c22


From 55b831e4e1d3db3ffcf1d40247018783ca76af8d Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Thu, 19 Nov 2015 21:12:56 -0500
Subject: Upgrading client dependancies. Upgrading to babel 6. Moving to es6
 package system.

---
 web/react/components/command_list.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/components/command_list.jsx')

diff --git a/web/react/components/command_list.jsx b/web/react/components/command_list.jsx
index 9b479b973..ff83d0420 100644
--- a/web/react/components/command_list.jsx
+++ b/web/react/components/command_list.jsx
@@ -1,7 +1,7 @@
 // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
 // See License.txt for license information.
 
-var client = require('../utils/client.jsx');
+import * as client from '../utils/client.jsx';
 
 export default class CommandList extends React.Component {
     constructor(props) {
-- 
cgit v1.2.3-1-g7c22

