Upgrading client dependancies. Upgrading to babel 6. Moving to es6 package system.

Этот коммит содержится в:
Christopher Speller
2015-11-19 21:12:56 -05:00
родитель 5c35c2631e
Коммит 55b831e4e1
162 изменённых файлов: 821 добавлений и 816 удалений

Просмотреть файл

@@ -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],