diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-30 17:53:22 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-30 17:53:22 +0300 |
commit | 2d5c4532f165597b4124bffafd1241a226a92dd7 (patch) | |
tree | 9490e7a3f4810e638db8cce4debc001c855ef694 /app/assets/javascripts/dispatcher.js | |
parent | 748e5613f23dac53b1735cb76ab80a4e251315b1 (diff) | |
parent | 3a844b7978eb956316c9979949ddb7669a06aca6 (diff) |
Merge branch '38869-importer_status' into 'master'
Remove code from global namespace
See merge request gitlab-org/gitlab-ce!15058
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 694767d6ac7..b516fda84b9 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -1,8 +1,8 @@ /* eslint-disable func-names, space-before-function-paren, no-var, prefer-arrow-callback, wrap-iife, no-shadow, consistent-return, one-var, one-var-declaration-per-line, camelcase, default-case, no-new, quotes, no-duplicate-case, no-case-declarations, no-fallthrough, max-len */ /* global ProjectSelect */ -/* global IssuableIndex */ +import IssuableIndex from './issuable_index'; /* global Milestone */ -/* global IssuableForm */ +import IssuableForm from './issuable_form'; /* global LabelsSelect */ /* global MilestoneSelect */ /* global NewBranchForm */ @@ -173,7 +173,7 @@ import Diff from './diff'; filteredSearchManager.setup(); } const pagePrefix = page === 'projects:merge_requests:index' ? 'merge_request_' : 'issue_'; - IssuableIndex.init(pagePrefix); + new IssuableIndex(pagePrefix); shortcut_handler = new ShortcutsNavigation(); new UsersSelect(); |