summaryrefslogtreecommitdiffstats
path: root/web/react/components/tutorial
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/tutorial
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/tutorial')
-rw-r--r--web/react/components/tutorial/tutorial_intro_screens.jsx16
-rw-r--r--web/react/components/tutorial/tutorial_tip.jsx8
2 files changed, 12 insertions, 12 deletions
diff --git a/web/react/components/tutorial/tutorial_intro_screens.jsx b/web/react/components/tutorial/tutorial_intro_screens.jsx
index 3afc5145d..9360d31f8 100644
--- a/web/react/components/tutorial/tutorial_intro_screens.jsx
+++ b/web/react/components/tutorial/tutorial_intro_screens.jsx
@@ -1,14 +1,14 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-const UserStore = require('../../stores/user_store.jsx');
-const ChannelStore = require('../../stores/channel_store.jsx');
-const TeamStore = require('../../stores/team_store.jsx');
-const PreferenceStore = require('../../stores/preference_store.jsx');
-const Utils = require('../../utils/utils.jsx');
-const AsyncClient = require('../../utils/async_client.jsx');
-
-const Constants = require('../../utils/constants.jsx');
+import UserStore from '../../stores/user_store.jsx';
+import ChannelStore from '../../stores/channel_store.jsx';
+import TeamStore from '../../stores/team_store.jsx';
+import PreferenceStore from '../../stores/preference_store.jsx';
+import * as Utils from '../../utils/utils.jsx';
+import * as AsyncClient from '../../utils/async_client.jsx';
+
+import Constants from '../../utils/constants.jsx';
const Preferences = Constants.Preferences;
const NUM_SCREENS = 3;
diff --git a/web/react/components/tutorial/tutorial_tip.jsx b/web/react/components/tutorial/tutorial_tip.jsx
index dd231b816..d7c67cc9c 100644
--- a/web/react/components/tutorial/tutorial_tip.jsx
+++ b/web/react/components/tutorial/tutorial_tip.jsx
@@ -1,11 +1,11 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-const UserStore = require('../../stores/user_store.jsx');
-const PreferenceStore = require('../../stores/preference_store.jsx');
-const AsyncClient = require('../../utils/async_client.jsx');
+import UserStore from '../../stores/user_store.jsx';
+import PreferenceStore from '../../stores/preference_store.jsx';
+import * as AsyncClient from '../../utils/async_client.jsx';
-const Constants = require('../../utils/constants.jsx');
+import Constants from '../../utils/constants.jsx';
const Preferences = Constants.Preferences;
const Overlay = ReactBootstrap.Overlay;