Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-12-15 15:57:08 +0300
committerPhil Hughes <me@iamphill.com>2017-12-15 19:37:49 +0300
commit6a33587182ef13179d2dc00a6698cb42f2e7138e (patch)
tree1d2329e2e53896aeb60864041e310e6394d1cdae /app/assets/javascripts/init_issuable_sidebar.js
parent627a96875ee68e37b45192af3121f09032ea4bbf (diff)
Exported JS classes as modules
Diffstat (limited to 'app/assets/javascripts/init_issuable_sidebar.js')
-rw-r--r--app/assets/javascripts/init_issuable_sidebar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/init_issuable_sidebar.js b/app/assets/javascripts/init_issuable_sidebar.js
index ada693afc46..5d4c1851fe5 100644
--- a/app/assets/javascripts/init_issuable_sidebar.js
+++ b/app/assets/javascripts/init_issuable_sidebar.js
@@ -2,7 +2,7 @@
/* global MilestoneSelect */
import LabelsSelect from './labels_select';
import IssuableContext from './issuable_context';
-/* global Sidebar */
+import Sidebar from './right_sidebar';
import DueDateSelectors from './due_date_select';
@@ -15,5 +15,5 @@ export default () => {
new LabelsSelect();
new IssuableContext(sidebarOptions.currentUser);
new DueDateSelectors();
- window.sidebar = new Sidebar();
+ Sidebar.initialize();
};