From 12896bd23eeba79884245c1c29fdc568cf21a7fa Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Mon, 14 Mar 2016 08:50:46 -0400
Subject: Converting to Webpack. Stage 1.

---
 web/react/components/settings_sidebar.jsx | 64 -------------------------------
 1 file changed, 64 deletions(-)
 delete mode 100644 web/react/components/settings_sidebar.jsx

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

diff --git a/web/react/components/settings_sidebar.jsx b/web/react/components/settings_sidebar.jsx
deleted file mode 100644
index da8001f6f..000000000
--- a/web/react/components/settings_sidebar.jsx
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import * as Utils from '../utils/utils.jsx';
-
-export default class SettingsSidebar extends React.Component {
-    constructor(props) {
-        super(props);
-
-        this.handleClick = this.handleClick.bind(this);
-    }
-    handleClick(tab, e) {
-        e.preventDefault();
-        this.props.updateTab(tab.name);
-        $(e.target).closest('.settings-modal').addClass('display--content');
-    }
-    componentDidMount() {
-        if (Utils.isBrowserFirefox()) {
-            $('.settings-modal .settings-table .nav').addClass('position--top');
-        }
-    }
-    render() {
-        let tabList = this.props.tabs.map(function makeTab(tab) {
-            let key = `${tab.name}_li`;
-            let className = '';
-            if (this.props.activeTab === tab.name) {
-                className = 'active';
-            }
-
-            return (
-                <li
-                    key={key}
-                    className={className}
-                >
-                    <a
-                        href='#'
-                        onClick={this.handleClick.bind(null, tab)}
-                    >
-                        <i className={tab.icon}/>
-                        {tab.uiName}
-                    </a>
-                </li>
-            );
-        }.bind(this));
-
-        return (
-            <div>
-                <ul className='nav nav-pills nav-stacked'>
-                    {tabList}
-                </ul>
-            </div>
-        );
-    }
-}
-
-SettingsSidebar.propTypes = {
-    tabs: React.PropTypes.arrayOf(React.PropTypes.shape({
-        name: React.PropTypes.string.isRequired,
-        uiName: React.PropTypes.string.isRequired,
-        icon: React.PropTypes.string.isRequired
-    })).isRequired,
-    activeTab: React.PropTypes.string,
-    updateTab: React.PropTypes.func.isRequired
-};
-- 
cgit v1.2.3-1-g7c22

