diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-11-19 21:12:56 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-11-19 21:12:56 -0500 |
commit | 55b831e4e1d3db3ffcf1d40247018783ca76af8d (patch) | |
tree | e817ed0fc96ae6ee8c1a39619adff070dd86f95d /web/react/stores/channel_store.jsx | |
parent | 5c35c2631e59f895a7b0fb6761c1cae7aee60466 (diff) | |
download | chat-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/stores/channel_store.jsx')
-rw-r--r-- | web/react/stores/channel_store.jsx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/web/react/stores/channel_store.jsx b/web/react/stores/channel_store.jsx index cc0d0d14b..1d481ada4 100644 --- a/web/react/stores/channel_store.jsx +++ b/web/react/stores/channel_store.jsx @@ -1,19 +1,19 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. -var AppDispatcher = require('../dispatcher/app_dispatcher.jsx'); -var EventEmitter = require('events').EventEmitter; +import AppDispatcher from '../dispatcher/app_dispatcher.jsx'; +import EventEmitter from 'events'; var Utils; -var Constants = require('../utils/constants.jsx'); -var ActionTypes = Constants.ActionTypes; +import Constants from '../utils/constants.jsx'; +const ActionTypes = Constants.ActionTypes; -var BrowserStore = require('../stores/browser_store.jsx'); +import BrowserStore from '../stores/browser_store.jsx'; -var CHANGE_EVENT = 'change'; -var LEAVE_EVENT = 'leave'; -var MORE_CHANGE_EVENT = 'change'; -var EXTRA_INFO_EVENT = 'extra_info'; +const CHANGE_EVENT = 'change'; +const LEAVE_EVENT = 'leave'; +const MORE_CHANGE_EVENT = 'change'; +const EXTRA_INFO_EVENT = 'extra_info'; class ChannelStoreClass extends EventEmitter { constructor(props) { |