summaryrefslogtreecommitdiffstats
path: root/web/react/components/search_autocomplete.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-19 21:12:56 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-19 21:12:56 -0500
commit55b831e4e1d3db3ffcf1d40247018783ca76af8d (patch)
treee817ed0fc96ae6ee8c1a39619adff070dd86f95d /web/react/components/search_autocomplete.jsx
parent5c35c2631e59f895a7b0fb6761c1cae7aee60466 (diff)
downloadchat-55b831e4e1d3db3ffcf1d40247018783ca76af8d.tar.gz
chat-55b831e4e1d3db3ffcf1d40247018783ca76af8d.tar.bz2
chat-55b831e4e1d3db3ffcf1d40247018783ca76af8d.zip
Upgrading client dependancies. Upgrading to babel 6. Moving to es6 package system.
Diffstat (limited to 'web/react/components/search_autocomplete.jsx')
-rw-r--r--web/react/components/search_autocomplete.jsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/react/components/search_autocomplete.jsx b/web/react/components/search_autocomplete.jsx
index 04384203f..4c0aa0166 100644
--- a/web/react/components/search_autocomplete.jsx
+++ b/web/react/components/search_autocomplete.jsx
@@ -1,12 +1,12 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-const ChannelStore = require('../stores/channel_store.jsx');
-const KeyCodes = require('../utils/constants.jsx').KeyCodes;
+import ChannelStore from '../stores/channel_store.jsx';
+import Constants from '../utils/constants.jsx';
+const KeyCodes = Constants.KeyCodes;
const Popover = ReactBootstrap.Popover;
-const UserStore = require('../stores/user_store.jsx');
-const Utils = require('../utils/utils.jsx');
-const Constants = require('../utils/constants.jsx');
+import UserStore from '../stores/user_store.jsx';
+import * as Utils from '../utils/utils.jsx';
const patterns = new Map([
['channels', /\b(?:in|channel):\s*(\S*)$/i],